Search found 33 matches

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

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: 17184

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: 17184

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: 17184

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: 17184

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 7688 times
#R42
by CX16UserSteveC
Sat Nov 06, 2021 5:33 pm
Forum: Lounge
Topic:
Replies: -1
Views:

Does Commander X16 emulator support binary byte-oriented file I/O?

Has anyone been able to get binary byte-oriented file I/O working in cc65 C applications? If so, could you please point me to an example of some working code? I've only been able to get the cbm_load() and cbm_save() functions working which loads or saves an entire file. I noticed C3c posted assembl...
by CX16UserSteveC
Fri Nov 05, 2021 3:38 pm
Forum: Video/Podcast talk
Topic: New demo uploaded: CELESTEMAP.PRG
Replies: 0
Views: 827

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: 1019

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: 1022

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: 470

8-BitCoin Miner