XC=BASIC, Compiled BASIC Mystify Clone.

Talk about your programs in progress. Discuss how to implement features, etc.
Forum rules
This section is for testing Commander X16 programs and programs related to the CX16 for other platforms (compilers, data conversion tools, etc.)

Feel free to post works in progress, test builds, prototypes, and tech demos.

Finished works go in the Downloads category. Don't forget to add a hashtag (#) and the version number your program was meant to run on. (ie: #R41).
Post Reply
User avatar
ahenry3068
Posts: 1138
Joined: Tue Apr 04, 2023 9:57 pm

XC=BASIC, Compiled BASIC Mystify Clone.

Post 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 53 times

THE COMPILED PRG
MYSTIFY2.XC.prg
(12.89 KiB) Downloaded 69 times
User avatar
Jakebullet70
Posts: 15
Joined: Sat Nov 21, 2020 8:18 pm

Re: XC=BASIC, Compiled BASIC Mystify Clone.

Post 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.
If you do not see any flak... Your not on target!
User avatar
ahenry3068
Posts: 1138
Joined: Tue Apr 04, 2023 9:57 pm

Re: XC=BASIC, Compiled BASIC Mystify Clone.

Post by ahenry3068 »

Alright posted the enhanced and final version in DEMOSCENE viewtopic.php?t=7749
Post Reply