Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:19 15 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Porting PET/C64 to MMBasic

Author Message
HellbentHorse
Regular Member

Joined: 08/07/2020
Location: Australia
Posts: 55
Posted: 11:55pm 19 Sep 2020
Copy link to clipboard 
Print this post

Hey all,

A buddy of mine has some old commodore PET and C64 programs he has written back in the day and wanted me to see if I can port them to CMM2.

I was wondering if some of the guru's here could recommend the most efficient way to do this (apart from just going line by line and rewriting them entirely).

I can already see some of the PEEKs & POKE's that interacted with the PET/C64 memory directly could likely be rewritten to suit MMbBasic but any pointers would be appreciated for this humble novice.
 
elk1984

Senior Member

Joined: 11/07/2020
Location: United Kingdom
Posts: 229
Posted: 12:40am 20 Sep 2020
Copy link to clipboard 
Print this post

Transpilers between the common dialects of 80's BASIC and MM Basic.   Mmmmmm that would be interesting.
 
capsikin
Guru

Joined: 30/06/2020
Location: Australia
Posts: 342
Posted: 02:57am 20 Sep 2020
Copy link to clipboard 
Print this post

  elk1984 said  Transpilers between the common dialects of 80's BASIC and MM Basic.   Mmmmmm that would be interesting.


I thought it would be interesting to have a transpiler to go between BBC Basic and MMBASIC, particularly procedures/subroutines, and do/loop until <-> repeat/until
 
capsikin
Guru

Joined: 30/06/2020
Location: Australia
Posts: 342
Posted: 03:01am 20 Sep 2020
Copy link to clipboard 
Print this post

  HellbentHorse said  Hey all,

A buddy of mine has some old commodore PET and C64 programs he has written back in the day and wanted me to see if I can port them to CMM2.

I was wondering if some of the guru's here could recommend the most efficient way to do this (apart from just going line by line and rewriting them entirely).

I can already see some of the PEEKs & POKE's that interacted with the PET/C64 memory directly could likely be rewritten to suit MMbBasic but any pointers would be appreciated for this humble novice.


For some things, you can write a sub in CMM2 to implement what was a command in another version of basic.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025