Login
Forum Help



Post Your Message
="hidden" name="cat" value="Programming">
Username: (Login)

Topic:
Message:
 


Previous Messages
Posted By

MMS
on 2021-08-18
18:08:11
 Re: optimizing BASIC

There were some useful information, I agree.

There was a series of such BASIC tricks and improverments on YT by Robin Harbron
https://www.youtube.com/watch?v=J9QH-tUJB2s

Posted By

Glenn
on 2021-08-18
15:31:33
 Re: optimizing BASIC

I don’t know much about that project. But I thought it was cool how they got that program faster by like an hour on the +4. (See the last post). I had no idea about that decimal point reading in as zero faster than an actual “0”. Weird!

Posted By

MMS
on 2021-08-18
12:13:19
 Re: optimizing BASIC

Based on the explanation (and the number of available commands) that x16 is closer to C64 that to C16 (or Plus/4).

There are some interesting statementsin the article, that there is no COLOR command (while somewhere else it is written, there is)
https://github.com/commanderx16/x16-docs/blob/master/Commander%20X16%20Programmer's%20Reference%20Guide.md

I this stage the x16 is certainly more advanced than the 264 series (no attribute, PCM and Yamaha 2151 sound, Real time clock, built in SD card and mouse support), but I think on programming level this command set seems to be very limited. The much higher speed and chunky gfx mode, not to mention the bank switching free operation would make this machine optimal to write games, even in BASIC.
For this one the fast block-copy and software sprite routines are really needed. Pushing ppl to still use POKE and PEEK is not XXI.century style happy

I think it started well and advanced further. On the other hand I think instead of cloning C64 and extending it few new commands they should approach C128 simulation at a higher speed, because it was the biggest drawback of C128, that it was damn slow in BASIC. But it could program waveforms, play music, define ssprites, and even much more.


Posted By

Glenn
on 2021-08-18
06:38:59
 optimizing BASIC

https://www.commanderx16.com/forum/index.php?/topic/1488-basic-convertingoptimizing-a-simple-basic-program-from-another-commodore-platform-to-the-x16/

+4 mentioned


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon