It is currently Sat May 25, 2013 7:30 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Commodore BASIC for OS X
PostPosted: Mon Mar 26, 2012 3:09 am 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 852
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.


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Tue Mar 27, 2012 1:57 pm 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1461
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!


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Tue Mar 27, 2012 11:28 pm 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 852
try all caps, it doesn't understand lower case.


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Tue Mar 27, 2012 11:49 pm 
Offline
User
User

Joined: Sat Dec 10, 2011 7:53 pm
Posts: 10
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:


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Wed Mar 28, 2012 5:50 am 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 919
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?

_________________
If you are new to PB you should check out the CodeArchiv. It has examples for almost everything you would want to do in PB.


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Wed Mar 28, 2012 11:57 am 
Offline
Addict
Addict

Joined: Fri Apr 25, 2003 11:10 pm
Posts: 852
Kuron wrote:
Could you share a link to the Win32 version?

sure, http://sourceforge.net/projects/cbmbasi ... /cbmbasic/


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Wed Mar 28, 2012 3:45 pm 
Offline
Addict
Addict

Joined: Sat Oct 17, 2009 10:51 pm
Posts: 919
TY

_________________
If you are new to PB you should check out the CodeArchiv. It has examples for almost everything you would want to do in PB.


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Fri Mar 30, 2012 11:47 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 734
Location: Darling River
Quote:
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 Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Sat Mar 31, 2012 6:17 am 
Offline
Addict
Addict

Joined: Tue Feb 22, 2011 1:16 pm
Posts: 1461
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!


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Sun Apr 01, 2012 1:31 am 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 734
Location: Darling River
Quote:
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 Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Wed Apr 04, 2012 9:05 pm 
Offline
User
User

Joined: Sat Dec 10, 2011 7:53 pm
Posts: 10
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.


Top
 Profile  
 
 Post subject: Re: Commodore BASIC for OS X
PostPosted: Wed Apr 04, 2012 10:56 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 734
Location: Darling River
Quote:
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. :)

Quote:
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 Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye