--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/3b957f08-c5c6-4860-8df2-738eb51195f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/aae3c3a3-4e8c-4af5-b83a-f92c5fecc9ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/14455b21-eac2-4ec0-8d45-3b34d6b70bda%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "RC2014-Z80" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rc2014-z80/mPqfeuTUUFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rc2014-z80+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/CAKD5ztY0Jqf9-k-pAiXs14sOMad%2BWtWktPkAmz%2Bi5jsSORL1hw%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "RC2014-Z80" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rc2014-z80/mPqfeuTUUFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rc2014-z80+...@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/a0958051-ca40-4891-99d7-1a86d63b7ff3%40googlegroups.com.
Sounds good as well Daniel, ill have a play later tonight as it is 2:19 am and i need my ugly sleep. Lol
; example code for a BASIC USR function
DEINT = 0x0a07
ABPASS = 0x117D
.area .CODE (ABS)
.org 0xF800
usr:
ld a, r ; a = r
inc a ; a++
ld r, a ; r = a
ld b, a
xor a
jp ABPASS
20 REM == poke at 0xF800 ==
30 let mb=&HF800
100 print "Poking in the program...";
110 read op
120 if op = 999 then goto 160
130 poke mb, op
140 let mb = mb + 1
150 goto 110
160 print "...Done!"
200 REM == JP start address (c3 00 f8) jp f800 ==
210 mb = &H8048
220 poke mb, &HC3
230 poke mb+1, &H00
240 poke mb+2, &HF8
250 print "Calling usr()..."
260 print usr(0)
270 end
9000 REM == program ==
9001 DATA 237, 95, 60, 237, 79, 71, 175, 195, 125, 17
9003 DATA 999
--
You received this message because you are subscribed to the Google Groups "RC2014-Z80" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rc2014-z80+unsubscribe@googlegroups.com.
To post to this group, send email to rc201...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rc2014-z80/47584a50-1fc3-4910-b8a4-91c61b51de21%40googlegroups.com.