-
BREAK from GOSUBHere's another one. Just in case you wanted to break out of multiple GOSUB levels with a single command, here's a routine to do it, tested on all mod…
... ;+2A/+3/+3e fix
JP Z, $1F36 ;REPORT_7 ; 202 54 ... 31
JP $1E73 ;GO_TO_2 ; 195 115 30 ... ensuing code at the relevant JP address. -
Invalid combination of operands and opcodesIt says the error in the title, why is this?? [CODE] ORG 0000 LD HL, 63000 ;LOAD HL WITH STACK LOCATION LD SP, HL ;SET STACK POINTER TO HL LD A, …
... 1) ;RETRIVE KEYBOARD
JP Z, KEYBOARD_SCAN_MENU ;IF NOTHING PRESSED ... ENTER KEYBOARD PRESSED
JP NZ, EXIT_MENU_FUNCTION
... PRINT NEW
JP MENU_KEYSCAN ;MENU LOOP
... B ;CHARACTER RETRIVED
JP NZ, PRINT_LOOP ;KEEP LOOPING ... -
ANN: Tipshop updated Saturday, 31 December 2011Saturday 31 December 2011 The last update of the year - Happy New Year when it comes! * GoodBoy sent in a cheat for Wacky Races. * Hippy Smith sen…
... Holiday In Sumaria.
* JP kindly supplied the type-in ... -
Amazonia (BUGFIX)This is a bugfix for game [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0027280"]Amazonia[/URL], please add the following "known errors" des…
... uppercase 'S'?
a4ac ca2e9f jp z,9f2eh ; if so, ... 's'?
a4b1 ca2e9f jp z,9f2eh ; if so, ... 'S'?
a4ac ca2e9f jp z,9f2eh ; if so, ... 's'?
a4b1 ca2e9f jp z,9f2eh ; if so, ... -
editing strings with INPUT LINEHere's the latest in my unpredictable series of utility routines. This one I needed for the SAGE game editor; it emulates INPUT LINE l$ but with the …
...
call $28b2 ;LOOK_VARS
jp c,$1c2e ;"2 - Variable not ... -
Cause of the financial breakdown?I've written down (dictated) from a video, what Lord James of Blackheath said on the 16th February 2012 in the House of Lords. Though you can probab…
... there it was passed to JP MorganChase in New York for ... -
BIT/RES/SET b,r where b is variableWhat's the best way to use the bit flag group of commands if it's not known in advance which bit should be referenced; ie. where it's dependent upon …
... particular one with either a "jp (hl)" or a series of ... -
ANN: Tipshop updated Saturday 31 March 2012Saturday 31 March 2012 Loads of maps and RZX Archive entries this month - and it nearly made it on time, too! * Archie Robins sent in POKEs for Foo…
... for Turrican II.
* JP sent in POKEs for Arkanoid ... -
28-character wide multicolour(ish) on 48k SpectrumLong-time lurker here... I've always been interested in rainbow effects on the 48k Spectrum, mainly from a perspective of "Just what [I]would [/I]ha…
Running my ZX Spectrum in JapanI finally got my Spectrum running nicely here in Japan, so I wrote up a blog on it. It was originally in Japanese, as I had aimed it at Japanese enth…
... />
[url]http://pcbiroiro.blogspot.jp/2012/01/running-zx-spectrum ...Inefficient code in ROM, from ram-check to RAM-DONEHere is the inefficient code: [CODE] ;; ram-check L11DA: LD H,D ; Transfer the top value to the HL register LD L,E …
... we reached ROM - $3F ?
JP NZ,L11DA ; Back to RAM ... (HL) ; decrement to zero.
JP Z,L11E2 ; back to RAM ...Matching calls and returnsHi all, A pretty fundamental question here that I probably should have sorted by now. I've noticed how much the stack has built out in my current g…
... have been lost I just jp back to the very beginning ...Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …
... ld (endcall), hl
jp blit ; call blit
ENDM ... pop af
jp 56 ; exit via BASIC interrupt ... push af
defb 0xc3 ; jp endcall
endcall:
... 0xfff4
vector:
jp im_main ; jump to main interrupt ...Just found my Psion Revo[img]http://www.enfour.co.jp/psion/revo/image/main_image.jpg[/img] What a lovely piece of kit this is. Such a sleek design. But since I packed it a…
[img]http://www.enfour.co.jp/psion/revo/image/main_image.jpg[/ ...ANN: Tipshop updated Thursday, 31 May 2012Thursday 31 May 2012 Some very interesting POKEs this month * Hippy Smith sent in HUGE(!) POKEs for Echelon, Hive, Infiltrator, Sentinel, The and V…
... them all correctly!
* JP sent in cheats for Battery ...Trace in debuggersExist any ZX emulator using debugger with possibility trace back ? I need see previous instructions and it can be hard if it's JP xxxx
Exist any ZX emulator using debugger with possibility trace back ?
I need see previous instructions and it can be hard if it's JP xxxxANN: Tipshop updated Sunday, 09 September 2012Sunday 09 September 2012 Lots of stuff going on In Real Life, so the update is a tad late! * JP provided a correction to the type-in hacks for Agen…
... a tad late!
* JP provided a correction to the ... Byte
* StuBruise (via JP) provided a correction to the ...recovering the stack after an errorMy normal error handler starts with the stack as reset by LD SP,(ERR_SP) in $0053 ERROR_2, sets up some stuff and returns to BASIC via a "JP C,$1e73 …
... returns to BASIC via a "JP C,$1e73 ;GO_TO_2", which works ...syntax checking helpcan anyone help with syntax checking, its been a while since I did any basic extension coding this routine always gives :C nonsense in basic error …
ANN: Tipshop updated Wednesday, 31 October 2012Wednesday 31 October 2012 Happy Halloween! * Archie Robins provided corrected POKEs for Liberator, Swat! as well as new POKEs for Devil's Castle, Di…
... 'Run Italian magazine.
* JP sent in corrections for the ...IX register woes - or is SPIN buggy?Or am I missing something? I'm trying to use the IX reg to acess a table containing an x and y coord. My code below just doesnt seem to work proper…
... ;compare to far right
jp z,shprst ;yes then reset ...Graph Plothi! please, help with code: [PHP]For x=-100 To 100 For y=-100 To 100 If (x/2-25)*(x/2-25)+(y-50)*(y-50)<200 Or (x/2+25)*(x/2+25)+(y-50)*(y-50)<200 th…
hi! please, help with code:
[PHP]For x=-100 To 100
For y=-100 To 100
If (x/2-25)*(x/2-25)+(y-50)*(y-50)Optimisations in Exomizer Z80 decrunch codeThis is the 163 bytes old code (simple and optimized): [CODE] ld iy, exo_mapbasebits ld a, 128 ld b, 52 push de exo…
... /> defb 210 ;3 bytes nop (JP NC)
exo_setbit:
add ... /> defb 210 ;3 bytes nop (JP NC)
exo_setbit:
add ...Omitting LETAn untested thought. Changing: [code]1B34 SUB $CE ; Reduce command code by $CE to ; give 00 to 31 for comman…
... 31 for commands
1B36 JP C,L1C8A ; Jump to REPORT ...