Started by c4ooo, December 22, 2017, 11:18:00 pm
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 December 23, 2017, 12:53:20 amOoooh, sounds fun. Any idea what you want to do with this?
Quote from: DarkestEx on April 10, 2020, 10:11:27 pmWhat happened to your project? Did it go further?
CodeWalr.us 2.0 © 2020, DJ Omnimaga & Juju
Page created in 0.064 seconds with 35 queries.