clownassembler icon indicating copy to clipboard operation
clownassembler copied to clipboard

need help assembling MDSDRV

Open garrettjwilke opened this issue 5 months ago • 1 comments

hi...i am trying to see if it is possible to use clownassembler to assemble MDSDRV.bin

https://github.com/superctr/MDSDRV

there are a few components, but all i am trying to get built is the mdsdrv.bin...it uses asm68k.exe, here is the build.bat file:

https://raw.githubusercontent.com/superctr/MDSDRV/refs/heads/master/build.bat

the line in the bat file i am attempting to run:

tools\asm68k.exe /k /p /o ae- src\blob.68k, out\mdsdrv.bin >out\error.txt, , out\mdsdrv.lst

i tried to run this:

./clownassembler_asm68k /k /p /o ae- src/blob.68k, out/mdsdrv.bin >out/error.txt, , out/mdsdrv.lst

when i attempt to assemble, there are many many errors, and i feel like i am doing something wrong because it's not finding the include files

Error: Symbol 'flag' does not exist.
On line 3397 of 'src/mdsdrv.68k'...
	bclr	#cf+cf_key_on,flag

Error: Symbol 'z80_ram' does not exist.
On line 3419 of 'src/mdsdrv.68k'...
	lea		z80_ram,a1

Error: Symbol 'z80_ram' does not exist.
On line 3431 of 'src/mdsdrv.68k'...
	lea		z80_ram+z_vtab,a1				

Error: Symbol 'z_vtab' does not exist.
On line 3431 of 'src/mdsdrv.68k'...
	lea		z80_ram+z_vtab,a1	

do you have any ideas on what i can do to assemble this? is it just not possible without major changes?

thanks so much! :)

garrettjwilke avatar Sep 06 '25 17:09 garrettjwilke