The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Forgotten JP
#1
NIRVANA demo code ends like this:

Code:
DO ... FOR sprite = 0 TO 7 ... NEXT sprite LOOP btiles: asm incbin "nirvana.btile" end asm

Previous versions of ZX BASIC compiled it correctly. Latest version 1.4.0s1964 now compiles it incorrectly, as follows:

Code:
__LABEL47: ld a, 7 ld hl, (_sprite - 1) cp h jp c, __LABEL2 __LABEL__btiles: #line 132 incbin "nirvana.btile" #line 133

It's now forgetting to generate the last JP corresponding to the DO..LOOP statement!

If you would like to compile it yourself, source code is available here:

https://www.dropbox.com/sh/bgtoq6tdwropz...6dLJZfGASa
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)