Juju thinks he's so clever by putting funny stuff here
Started by c4ooo, December 22, 2017, 11:18:00 pm
0 Members and 2 Guests 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?
CodeWalr.us 2.0 © 2019, DJ Omnimaga & Juju
Page created in 0.025 seconds with 34 queries.