Page 1 of 1

XC=BASIC, Compiled BASIC Mystify Clone.

Posted: Sat Jun 08, 2024 2:36 am
by ahenry3068
I recently discovered a 6502 BASIC compiler that for some reason has been flying beneath everyone's Radar for some reason. It has had X16 target support apparently for at least 18 months. Compiler is documented here: https://xc-basic.net

Anyway. I ported my previous clone of Mystify (viewtopic.php?t=6555) to XC=BASIC It took a bit of doing and there are some gaps in the Compiler coverage for the X16 (greatly mitigated by a full featured inline assembler) But the performance difference speaks for itself. This IS FASTER THAN BLITZ and more feature complete as well.

This program needs one more feature before I post it to DEMOSCENE. But it's presentable now, and It's my Bedtime. So I'm posting what I have done.

Try It Now!


THE SOURCE CODE
MYSTIFY2.XC.BAS
(6.22 KiB) Downloaded 49 times

THE COMPILED PRG
MYSTIFY2.XC.prg
(12.89 KiB) Downloaded 64 times

Re: XC=BASIC, Compiled BASIC Mystify Clone.

Posted: Sat Jun 08, 2024 4:20 am
by Jakebullet70
Nice!!!

https://xc-basic.net/doku.php?id=v3:dim

Look at FAST in the DIM statement. That should speed up your loops.

Re: XC=BASIC, Compiled BASIC Mystify Clone.

Posted: Tue Jun 11, 2024 12:29 am
by ahenry3068
Alright posted the enhanced and final version in DEMOSCENE viewtopic.php?t=7749