FAQ  •  Register  •  Login

mc1000/gem1000 version of zxbasic-compiler is on the way! :)

<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Wed Aug 15, 2012 6:22 pm

mc1000/gem1000 version of zxbasic-compiler is on the way! :)

well, mc1000/gem1000 is a pretty rare 8bit hardware, but its zxbasic-compiler version is on the way:
https://www.facebook.com/groups/mc1000/
(messages are in portuguese, but people could use translators for that, and since the conversation is mostly technical there, it seems to be not that hard to understand)

btw, some information of it is being collected here: http://www.boriel.com/wiki/en/index.php ... C:GEM-1000

(an interesting fact of this machine is it uses the same display processor as Dragon32/Coco2 (a good start for these machines for when a 6809/6502 version of zxbasic-compiler appears) , the same sound processor as msx, nes and sms, and the same z80 processor as zx-spectrum and etc.! :) )
Last edited by nitrofurano on Wed Aug 15, 2012 8:59 pm, edited 1 time in total.
<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Wed Aug 15, 2012 8:57 pm

Re: mc1000/gem1000 version of zxbasic-compiler is on the way

i'm starting with this:

http://pastebin.com/sTkmg61s ( example01.sh )
http://pastebin.com/4K8kQ1sT (createmc1000header.py)
http://pastebin.com/zEbBamQN ( example01.bas )

later i'll try to create some libraries for that - and if successful, consider mc1000/gem1000 version of zxbasic-compiler started as well! :)
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Wed Aug 15, 2012 9:02 pm

Re: mc1000/gem1000 version of zxbasic-compiler is on the way

Hmmm. You're directly patching the .bin. This is the hardest way, IMHO :shock:
Anyway, the compiler generates a push/pop sequence for the ZX Spectrum (it's harmless on other architectures, but should be removed, I think).
<<

Ensjo

Posts: 1

Joined: Fri Aug 10, 2012 2:27 pm

Post Thu Aug 16, 2012 7:51 am

Re: mc1000/gem1000 version of zxbasic-compiler is on the way

First successful attempt at TLOAD'ing a machine code program assembled by myself. (In Portuguese.)

http://ensjo.blogspot.com.br/2012/08/do-assembly-ao-tload.html
<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Thu Aug 16, 2012 4:34 pm

Re: mc1000/gem1000 version of zxbasic-compiler is on the way

boriel wrote:Hmmm. You're directly patching the .bin. This is the hardest way, IMHO :shock:


but it works! \o/ - see https://www.facebook.com/groups/mc1000/ ... 207153104/ - it was successful, and consider that zxbasic-compiler can officially create mc1000/gem1000 stuff! \o/ - but, any help you know for improving it would be much better! :)

and the patching part can be considered and taken as "documentation" about how is this getting successfully done! :)

Anyway, the compiler generates a push/pop sequence for the ZX Spectrum (it's harmless on other architectures, but should be removed, I think).


well, i struggle on that a lot - btw, i see that push/pop is very used on 'sub fastcall' and 'function fastcall', and i have no idea how to be not using that so!...

but btw, the most important is that is working awesomelly fine! (and i have no beers in the freezer for commemorating, damn!.... :D ) - that "fine-tunning" comes later, i think! :)
<<

nitrofurano

Posts: 349

Joined: Thu Sep 29, 2011 12:44 pm

Location: Porto, Portugal

Post Fri Aug 24, 2012 10:16 pm

Re: mc1000/gem1000 version of zxbasic-compiler is on the way


Return to Wishlist

Who is online

Users browsing this forum: No registered users and 1 guest

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO