bexsella wrote:
Hi Gordon, I did find your posts in the middle of this, ahem... troubleshooting. I brefily felt that I made a mistake in buying this particular bit of kit, but for three weeks of hacking around I think it's adequate. While reading your posts I did immediately regret not getting an EEPROM + Programmer with it, and with Christmas post being what it is, I'll have to grin and bear execution directly from RAM for a little bit (again, as this is a learning exercise I'm not to fussed by it).
You don't need the EEPROM to get going and you don't need a programmer either as it's capable of self-programming - however to save you the effort of writing code to do the programming, I do suggest you get my GIBL (TinyBasic) and run that on it from RAM.
The RAM version has some extra code in it that I use to put the tiny bootstrap kernel and the ROM version of GIBL in the EEPROM, but can be adapted to put code anywhere when you get an EEPROM for it.
If you get the .tgz or .zip file from here:
https://project-downloads.drogon.net/gibl/then in the sxb directory there are a couple of srec files which are ready to go - so if you can download the ram.srec file, it loads in a $1000 then use the
g 1000 command and it ought to fire up into GIBL/TinyBasic.
Also in the sxb directory there is a program called flash.tb and that has all the runes to let you copy stuff from RAM into the EEPROM.
ZP data used by the built-in monitor is a pain - it's not documented well at all and I had to dig through the source code to find out what it was using. (And it's not even all defined in one place either!) However from $D0 trough $FF is guaranteed to be free for your own use. It's not a lot but will get you going.
Hardware is from $00 through $3F.
But the first thing to do is get reliable downloading via the serial line going. Then you can send SREC files directly into it.
Cheers,
-Gordon
_________________
--
Gordon Henderson.
See my
Ruby 6502 and 65816 SBC projects here:
https://projects.drogon.net/ruby/