tag:blogger.com,1999:blog-4017745189504803687.post4976929207399275831..comments2024-02-28T07:29:15.484+10:30Comments on Making a C64/C65 compatible computer: Extending The Commodore 64 BASIC with 1st-class tokensPaul Gardner-Stephenhttp://www.blogger.com/profile/10150903760695355706noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-4017745189504803687.post-21880471607381031992019-03-30T01:08:25.751+10:302019-03-30T01:08:25.751+10:30WHEN CAN WE BUY/DOWN OR OTHER USE IT
WHEN CAN WE BUY/DOWN OR OTHER USE IT<br />Anonymoushttps://www.blogger.com/profile/13311681830014563972noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-21561723020826906692018-02-28T07:01:01.214+10:302018-02-28T07:01:01.214+10:30You're welcome :)You're welcome :)Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-71957301532732525012018-02-28T05:56:36.986+10:302018-02-28T05:56:36.986+10:30Thank you for the answer dude ^_^
RobertoThank you for the answer dude ^_^<br />RobertoRobertohttps://www.blogger.com/profile/10245787776691693203noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-72081943903742803682018-02-27T12:04:48.182+10:302018-02-27T12:04:48.182+10:30Taking a look at https://en.wikipedia.org/wiki/BAS...Taking a look at https://en.wikipedia.org/wiki/BASIC_8, BASIC 8 used the @ token as prefix for all the new commands. We are not doing that, as it is a bit ugly and means that the commands that follow have to be stored a text, rather than tokens. Also, BASIC 8 is really VDC specific, which doesn't make sense on the MEGA65, which uses a VIC-III/IV for 80 column graphics, not the VDC. This isn't to say that we will make things any less compatible than they need to be. Indeed, at the end of the day, the different tokens etc can be translated automatically by a conversion program, if someone wants to make one, which would make it quite easy to import old BASIC 8 (or BASIC 7 or BASIC 4 or whatever) programs.<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-48059595400602241402018-02-27T10:07:33.775+10:302018-02-27T10:07:33.775+10:30I would prefer starting from C128 Basic V8.0 rathe...I would prefer starting from C128 Basic V8.0 rather than V2 or V7Robertohttps://www.blogger.com/profile/10245787776691693203noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-53983017505985812312018-02-15T07:40:03.831+10:302018-02-15T07:40:03.831+10:30Exactly. I also figure that if I do the M65-specif...Exactly. I also figure that if I do the M65-specific parts that would be hard for others to figure out at this stage, that rebasing it onto another version of CBM BASIC can potentially be done by someone else later, if necessary. I just have to be careful to invest my limited spare time into the parts of the project that can't be easily delegated.<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-49022953902887700732018-02-15T02:21:00.912+10:302018-02-15T02:21:00.912+10:30And BASIC 3.6 on Commodore LCD :) http://commodore...And BASIC 3.6 on Commodore LCD :) http://commodore-lcd.lgb.hu/jsemu/<br /><br />But, I think the important point is the functionality, at first at least. It's another question what BASIC version will be used to add this feature as the final form, with what kind of BASIC tokens etc etc. I had to realize this too, since my first thought was also "why BASIC 2, if it's not even a C64, not even C65, but M65". However I think, Paul felt, that it's easier to develop the code functionality with the most simple CBM BASIC, but it's may not the final form of it, anyway. And it seems to be a good reason to have "something" to develop/test "ASAP", even if it's not the final solution.LGBhttps://www.blogger.com/profile/04820526370036466739noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-21812679002801283262018-02-14T22:15:51.320+10:302018-02-14T22:15:51.320+10:30Yes, we plan to make it as backward compatible as ...Yes, we plan to make it as backward compatible as possible, and will look at how we deal with avoiding reuse of tokens. But that can happen once we have the functionality of the new commands under control.<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-14426716092397071022018-02-14T19:28:23.472+10:302018-02-14T19:28:23.472+10:30There was already an evolution of BASIC dialects a...There was already an evolution of BASIC dialects at CBM.<br />BASIC 2-4 on the PET/CBM line, BASIC 2 on VIC-20 and C64,<br />BASIC 3.5 on PLUS/4, C16,C116, and BASIC 7 on C128.<br />All these were version backward compatible.<br />So I would prefer the BASIC 7 from the C128 as a stable starting point. Tis would be much better, than extending the BASIC 2 of the C64 in a way that is incompatible to the already existing dialects 3.5 and 7.<br />At least you should make sure, that you are not using token values for your extensions, that have a different purpose in the BASIC 7 or BASIC 10 interpreter.Lisahttps://www.blogger.com/profile/03021122078516827672noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-51751525495549352862018-02-14T07:36:09.865+10:302018-02-14T07:36:09.865+10:30Hi Bil,
There are a couple of reasons why we are ...Hi Bil,<br /><br />There are a couple of reasons why we are using BASIC 2 as the starting point. This will likely change over time, however.<br /><br />1. BASIC 2 is finished and stable. We have yet to confirm (or brew) a "finished" C65 BASIC 10 ROM.<br /><br />2. The internals of BASIC 2 are (currently) better documented.<br /><br />3. The MEGA BASIC extension needs a reasonable amount of RAM for holding the graphics and sound assets, so in the short term the easiest solution was to start with a BASIC that doesn't know about (and therefore cannot accidentally use) the 2nd 64KB of RAM.<br /><br />4. I haven't thought through exactly how the new graphics and sound commands will fit in with the existing ones in BASIC 10.<br /><br />5. I haven't surveyed exactly how much ROM space is free (although I recall it to be at least 16KB).<br /><br />In short, it was quicker to use BASIC 2 as a starting point, but that is quite likely not going to be the end point.<br /><br />Paul.Paul Gardner-Stephenhttps://www.blogger.com/profile/10150903760695355706noreply@blogger.comtag:blogger.com,1999:blog-4017745189504803687.post-30020183195529907552018-02-14T03:03:56.846+10:302018-02-14T03:03:56.846+10:30Question: Why are you extending the C64 mode basic...Question: Why are you extending the C64 mode basic instead of the C65 one?herdwarehttps://www.blogger.com/profile/01445922175990163996noreply@blogger.com