6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Sep 22, 2024 6:35 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CVBasic compiler v0.6.0
PostPosted: Wed Aug 07, 2024 11:33 pm 
Offline
User avatar

Joined: Mon Jan 09, 2017 10:16 pm
Posts: 16
Location: Mexico, Mexico
Hi all.

I created this BASIC compiler originally for Z80 machines, however, I was intrigued by the fact that there are consoles with TMS9918 video processors, but 6502 processor!

In this case I decided to target the Vtech Creativision (also known as Dick Smith's Wizzard).

Of course, re-coding a whole Z80 compiler to support 6502 was pretty an achievement! Also rewriting the whole library. :D

CVBasic v0.6.0 is pretty complete, and all the example programs should compile just fine for Creativision. (just use the --creativision switch)

There are several examples and minigames included.

The Creativision Emulator is available from https://sourceforge.net/projects/creativisionemulator/

I've enlisted the help of some people to test in real hardware, but in the meanwhile, enjoy it! 8)

P.S: The full manual for the compiler is included, there is also my book Programming Games for Colecovision that fully applies to the Creativision port.

P.S.2: The source code for the compiler is available at https://github.com/nanochess/cvbasic


Attachments:
File comment: Camelot Knights game (use camelot2.bas)
camelot_knights_cvbasic.zip [65.9 KiB]
Downloaded 8 times
File comment: CVBasic v0.6.0 compiler
cvbasic_v0.6.0.zip [494.56 KiB]
Downloaded 17 times

_________________
Author, IOCCC+JS1K winner, Princess Quest in Evercade Intellivision, MSX/Atari/CV/Intellivision/SMS game dev, Knight of boot sector games, IntyBASIC/CVBasic creator.
Top
 Profile  
Reply with quote  
PostPosted: Thu Aug 08, 2024 6:33 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10938
Location: England
Looks interesting! (I experienced mild disorientation that gasm80 now also supports 6502 but that's fine!)


Top
 Profile  
Reply with quote  
PostPosted: Mon Aug 12, 2024 4:51 pm 
Offline
User avatar

Joined: Mon Jan 09, 2017 10:16 pm
Posts: 16
Location: Mexico, Mexico
BigEd wrote:
Looks interesting! (I experienced mild disorientation that gasm80 now also supports 6502 but that's fine!)


I'm glad you like it.

I needed a certain set of assembler features to support CVBasic, so it was easier to make gasm80 to support 6502. An option could be making gasm02 :D but the 6502 instruction set is pretty small so it fits perfectly in gasm80.

I see there are several homebrew computers based on 6502 and using TMS9918, it shouldn't be too difficult for users to make adaptations in the source code of CVBasic.

_________________
Author, IOCCC+JS1K winner, Princess Quest in Evercade Intellivision, MSX/Atari/CV/Intellivision/SMS game dev, Knight of boot sector games, IntyBASIC/CVBasic creator.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 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
You cannot post attachments in this forum

Search for:
Jump to: