The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
started Mattel Aquarius version
#2
Here is the Windows batch file to get the Aquarius Example compiled to a Binary.

On Windows you need to install the ddprogram used by this script
I've removed the part of the script calling MESS to launch with the created ROM file.
My mess threw fits from command line about missing the boot roms it needed, that it didn't cry about with normal launching.
I just ran this code again and it didn't work. I get an 8K binary at least but Viritual Aquarius and Mess don't care for it.
Too tired to go on tonight.

Code:
REM Windows Batch to compile Boriel's ZX BASIC REM To Aquarius Computer System Rom REM remove old build rm example01.asm example01.rom REM ZXB is the main SDK executable. It can act both as a compiler or as a translator: zxb library/aquariusromheader.bas --org=0x0000 REM copy header into temp file dd ibs=1 count=16 skip=0 if=aquariusromheader.bin of=example01.tmr REM rm removes objects rm aquariusromheader.bin REM compiling the basic program to cartridge memory zxb example01.bas --asm --org=0xE010 zxb example01.bas --org=0xE010 cat example01.bin >> example01.tmr REM create an 8K empty file dd if=Null of=_dummybytes.bin bs=8192 count=1 seek=8192 REM fill the empty with the temp cat _dummybytes.bin >> example01.tmr REM clean up old build files rm _dummybytes.bin example01.bin REM write 8k of temp file to ROM file dd ibs=1 count=8192 skip=0 if=example01.tmr of=example01.rom rm example01.tmr
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)