Started by c4ooo, 5 years and 6 months ago
0 Members and 1 Guest are viewing this topic.
#define output(x, y) ld a,y \ out (x),a#define command(x) output(PORT_COMMAND, x) output(PORT_ADD_LOW, writeTo & FFh) output(PORT_ADD_HIGH, writeTo >> 8) ;set data act-on address to writeTo ld hl,string1 ld de,writeTo ld bc,6 ldir ;copy string1 to writeTo command(COMMAND_WRITE_SERIEL) ;tell arduino to send data from act-on address to PC ;stuff ld hl,string2 ld de,writeTo ld bc,6 ldir ;copy string2 to writeTo command(COMMAND_WRITE_SERIEL) ;tell arduino to send data from act-on address to PC jr $ ;do nothingstring1: .db "test1",0string2: .db "12345",0writeTo:
Quote from: Juju on 5 years and 6 months agoOoooh, sounds fun. Any idea what you want to do with this?
Quote from: DarkestEx on 3 years and 2 months agoWhat happened to your project? Did it go further?
Page created in 0.048 seconds with 33 queries.