Search found 30 matches

by CX16UserSteveC
Sat Mar 25, 2023 4:30 pm
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 17576

Re: Bubble Universe Demo

Here is a Python version of the program, it animates super silky smooth import math import os import sys import pygame as pg os.environ["SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"] = "0" pg.init() screen = pg.display.set_mode([640, 512]) pg.display.set_caption("Bubble Universe...
by CX16UserSteveC
Fri Mar 24, 2023 5:56 pm
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 17576

Re: Bubble Universe Demo

Moving variables around in prog8 almost never makes a difference by the way. Prog8 allocates everything statically and all variables are put on a big pile no matter where you declare them. But if they're in the loop, doesn't the declaration happen over and over again each time you go through the lo...
by CX16UserSteveC
Fri Mar 24, 2023 5:49 pm
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 17576

Re: Bubble Universe Demo

Thank you for taking the time to check out Prog8! You're right that you get a blank screen with the latest official prog8 release. I actually discovered a bug in the pixel plot routine, during porting of this program. :D This fix hasn't yet been published in an official release (8.11) but you can g...
by CX16UserSteveC
Fri Mar 24, 2023 4:44 pm
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 17576

Re: Bubble Universe Demo

I find it mesmerizing. Here's the prog8 port. It runs faster, but not very much, due to the heavy use of floating point math in both cases. bubbleuniverse.prg %import graphics %import floats %import math %option no_sysinit ; Bubble Universe ; see: https://stardot.org.uk/forums/viewtopic.php?f=54&am...
by CX16UserSteveC
Tue Mar 21, 2023 9:39 pm
Forum: Demoscene
Topic: Bubble Universe Demo
Replies: 20
Views: 17576

Bubble Universe Demo

This Commander X16 Basic program is based on the "Bubble Universe" Sinclair Basic program at https://stardot.org.uk/forums/viewtopic ... 3f1ab9981f.

If you're using the emulator I recommend starting it with the -warp option.
Screen Shot
Screen Shot
bubble.png (370.41 KiB) Viewed 7874 times
#R42
by CX16UserSteveC
Fri Nov 05, 2021 3:38 pm
Forum: Video/Podcast talk
Topic: New demo uploaded: CELESTEMAP.PRG
Replies: 0
Views: 843

New demo uploaded: CELESTEMAP.PRG

<div class='ipsAreaBackground_light ipsPad'> <h3 class='ipsType_sectionHead'>CELESTEMAP.PRG</h3> <a href="https://www.commanderx16.com/forum/index.php?/files/file/209-celestemapprg/" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_small'> View File </a> <hr class='ipsHr'> <div clas...
by CX16UserSteveC
Fri Nov 05, 2021 3:38 pm
Forum: Demoscene
Topic: CELESTEMAP.PRG
Replies: 0
Views: 1060

CELESTEMAP.PRG

<p> I've been investigating the feasibility of using fantasy console development environments to develop new fantasy-console-style video games for the Commander X16 and also to potentially port existing fantasy console video games to the Commander X16. I've primarily been investigating the PICO-8 an...
by CX16UserSteveC
Sun May 02, 2021 3:28 pm
Forum: Video/Podcast talk
Topic: New demo uploaded: 8-BitCoin Miner
Replies: 0
Views: 1042

New demo uploaded: 8-BitCoin Miner

<div class='ipsAreaBackground_light ipsPad'> <h3 class='ipsType_sectionHead'>8-BitCoin Miner</h3> <a href="https://www.commanderx16.com/forum/index.php?/files/file/183-8-bitcoin-miner/" class='ipsButton ipsButton_primary ipsButton_fullWidth ipsButton_small'> View File </a> <hr class='ipsHr'> <div c...
by CX16UserSteveC
Sun May 02, 2021 3:28 pm
Forum: Demoscene
Topic: 8-BitCoin Miner
Replies: 0
Views: 486

8-BitCoin Miner

by CX16UserSteveC
Sun Apr 25, 2021 4:07 am
Forum: Introductions
Topic: Load a file, using cc65, into RAM or VERA
Replies: 2
Views: 2040

Load a file, using cc65, into RAM or VERA

Data in the 6502 microprocessor RAM can also be loaded and saved via the following cc65 function calls which are declared in cbm.h: unsigned int __fastcall__ cbm_load (const char* name, unsigned char device, void* data);<br /> /* Loads file "name", from given device, to given address -- or, to the ...