Commodore BASIC for OS X

For everything that's not in any way related to PureBasic. General chat etc...
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Commodore BASIC for OS X

Post by jack »

the strangest thing, Commodore BASIC V2 as a scripting language for MacOSX. http://www.basic-converter.org/ just above the FAQ
not that this is useful, just thought it was strange.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Commodore BASIC for OS X

Post by MachineCode »

Downloaded the Win32 version and it seems fake... does nothing really. Doesn't let you enter a program and doesn't understand the simplest of commands ("list" gives a syntax error, and so on).
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Re: Commodore BASIC for OS X

Post by jack »

try all caps, it doesn't understand lower case.
d.j.peters
User
User
Posts: 10
Joined: Sat Dec 10, 2011 7:53 pm

Re: Commodore BASIC for OS X

Post by d.j.peters »

I wrote this two years ago in 8 hours
I's a real 6502 CPU emulator not only the commodore BASIC V2.0

try it out if you like

DJ.
Image
[escape] = quit
[F2] = save commodore basic program
[F3] = load commodore basic program

Download windows binary: c64.exe
Source code: c64.bas
Would be cool if some of you port it to PB with a nice GUI :wink:
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Commodore BASIC for OS X

Post by Kuron »

MachineCode wrote:Downloaded the Win32 version and it seems fake... does nothing really. Doesn't let you enter a program and doesn't understand the simplest of commands ("list" gives a syntax error, and so on).
Could you share a link to the Win32 version?
Best wishes to the PB community. Thank you for the memories. ♥️
jack
Addict
Addict
Posts: 1358
Joined: Fri Apr 25, 2003 11:10 pm

Re: Commodore BASIC for OS X

Post by jack »

Kuron wrote:Could you share a link to the Win32 version?
sure, http://sourceforge.net/projects/cbmbasi ... /cbmbasic/
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: Commodore BASIC for OS X

Post by Kuron »

TY
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Commodore BASIC for OS X

Post by electrochrisso »

I wrote this two years ago in 8 hours
I's a real 6502 CPU emulator not only the commodore BASIC V2.0

try it out if you like

DJ.
Works good DJ, and I like that you map the windows keys to match the C64 keys properly. :)
Is it possible to load and save tape or disk image files. :?:
PureBasic! Purely the best 8)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Commodore BASIC for OS X

Post by MachineCode »

electrochrisso wrote:I like that you map the windows keys to match the C64 keys properly. :)
+1 on that! I hate emulators that ignore the labelled keys and use the old physical key positions. Makes it so hard to use.

But on another topic, how featured is your C64.exe anyway? It shows a blue screen, but when I entered "POKE 53280,5" the border didn't change to green. I was disappointed. I guess it doesn't really do much at all?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Commodore BASIC for OS X

Post by electrochrisso »

But on another topic, how featured is your C64.exe anyway? It shows a blue screen, but when I entered "POKE 53280,5" the border didn't change to green. I was disappointed. I guess it doesn't really do much at all?
POKE 53281 does not work either, if peek these values it stays at 255 even after a poke, but if I poke 16384 with a number it changes. :|
PureBasic! Purely the best 8)
d.j.peters
User
User
Posts: 10
Joined: Sat Dec 10, 2011 7:53 pm

Re: Commodore BASIC for OS X

Post by d.j.peters »

It's the result of a competition.
The challenge was to get a commodore BASIC ROM and a 8 bit CPU emulation working in 8 hours.
If you take a look in the source code you will see there isn't a real video or sound chip emulation.
My code is open source and you can translate it to PB and add missing things if you like.

DJ.
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Commodore BASIC for OS X

Post by electrochrisso »

The challenge was to get a commodore BASIC ROM and a 8 bit CPU emulation working in 8 hours.
Bloody great effort to be done in 8 hours. :)
My code is open source and you can translate it to PB and add missing things if you like.
I think I will pass on that one, I think it would take me 8 years. :lol:
PureBasic! Purely the best 8)
Post Reply