blackjetrock / z80_shield

Z80 Shield project
27 stars 7 forks source link

Add DF ASM play example #5

Closed derekfountain closed 5 years ago

derekfountain commented 5 years ago

I've added another example section where I can do my own play stuff. We'll probably take it out again when I'm done, or rename it should I produce anything worth keeping. For now it's just a bunch of Z80 instructions which don't really do anything.

I had to update the script which slots it into the sketch. The regex you have in there doesn't work for my .lis file so I presume we're using different assemblers? I thought you said you used z80asm? I think there's several with that name, I use the one in the Z88DK package. Anyway, I added a couple more regexes to the 'if' so my .lis parses correctly. The idea was to not change the regex or code which you put in there, so in theory you can still use it with your tooling. Or not, you might have to fix it. :)

blackjetrock commented 5 years ago

Looks fine to me. The assembler I used was not the Z88dk one, so I'm not surprised it was a bit different. I think we'll move to uploading hex files from assembler and C, but the example code can stay for now, maybe forever. It's useful for smaller stuff that you can use to check stuff is working.