-
PAPER&INK: screen/character differenciation?So I was looking at a type-in listing earlier and I got to wondering how the Spectrum differenciates between knowing that the PAPER/INK commands need…
... /> This will show the value of the first attr byte. The reasoning ... -
Maze Death Race - did it ever work?As a huge Rally-X fan I was always disappointed in MDR, but I cannot remember if that was just because it was a poor clone or if it was also because …
... the screen due to the ATTR trick. The way is yellow ... maze contains some not hidden ATTR (the programmer saved the maze ... ) x 130 (high) rectangle. The value 36 is the green field ... -
those darned recursive functions againI've been stuck on this one all evening. I want to dump out some memory in binary to debug a program. I've got a simple mod 2 division loop to do tha…
... on the right truncates the string if x is 1 or ... /> Note this produces a bad value for x=0 but I ... -
A couple of random questions......because, why not? (1) USR0 mode on the +3/+2A/B I know of its existence, I know how it's used, and I have some games that require it to work o…
... also be stored as a string in the variables area or ... it unless you know the value of every chr or keyword ... -
FIY: inconsistencies between different versions of Pasmo.I don't know if this has been reported before, but I recently changed from Pasmo 0.54 to Pasmo 0.60 and "suddenly" there was a bug in my program. …
... IX/IY displacements to EQU value calculation and this seems to ... a '0' zero into the string if that begins with '-'. -
Help with CHR$ codes 0 to 5Hi, I'm looking a piece of code in a listing similar to: Let a$ = CHR$ 0 Let b$ = CHR$ 1 Let c$ = CHR$ 2 Let d$ = CHR$ 3 Let e$ = CHR$ 4 Let f…
The values stored will be binary 0,1,2,3,4,5 and can be compared with any other string variable or function which returns a string value. -
FIY: inconsistencies between different versions of Pasmo.I don't know if this has been reported before, but I recently changed from Pasmo 0.54 to Pasmo 0.60 and "suddenly" there was a bug in my program. …
... IX/IY displacements to EQU value calculation and this seems to ... a '0' zero into the string if that begins with '-'.[/quote ... -
Mighty Maths ProgramsIn a break from typing in listings from 37-year-old magazines, I had a sudden urge to write a maths-related program, as I do, occasionally. Some, suc…
... same as before - take the string of numbers after the radix ... made a mistake in the value of pi in the Spectrum ... -
CODE instruction in array$ PRINTSo I'm still plugging away at BASIC and have found a line of code (another!) that's really puzzling me. The line is as follows: PRINT A$(P+Q TO P…
A$(P+T) would return a string containing character 8 (one of the control codes). The CODE bit would then convert that to the integer value of 8. -
CODE instruction in array$ PRINTSo I'm still plugging away at BASIC and have found a line of code (another!) that's really puzzling me. The line is as follows: PRINT A$(P+Q TO P…
Doesn't CODE return the ASCII code for the character? I thought it was VAL that returned the integer value of a string? -
z88dk sp1 Scene EditorHi, I've been developing for the last couple of weeks a scene editor (tile editor + scene tile placement+ export to c sp1 compatible) to aid me in…
... paper pixels to $E3 alpha value
my $asmbooleanprefix = '%'; # :dbolli: ... /> my $zxattr = shift; # zx spectrum ATTR FBGRBGRB data
our ... ->info( "Convert test zx ATTR array:" );
foreach ( @zxspectrumtestattrs )< ... -
Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…
... lies in attributing a separate value to N$ like LET N ... directly give a numeric value to a string variable then perhaps you ... can assign a numeric value to ... -
Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…
... comparing the string you have in N$ with a given value, as ... opposed to needing the actual numeric value held ... -
Who's NEXT?How about having a category just for Spectrum NEXT owners? I got mine on Monday, its the original issue, plain jane and quite enough for me to ge…
... probably gives 0 if the string is not a number (try ... keeps asking for a numeric value if you don't type ... -
How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... (ix+2), a ;loading the value
ld (ix+3), 18 ... ;maximal length of the text string. It doesn't go to ... -
How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... (ix+2), a ;loading the value
ld (ix+3), 18 ... ;maximal length of the text string. It doesn't go to ... -
How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... (ix+2), a ;loading the value
ld (ix+3), 18 ... ;maximal length of the text string. It doesn't go to ... -
How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... before and after if the value in the a register is ... pass the length of the string (either put a 0 byte ... at the end of the string like this
str ... the last byte of the string with 128 and handle that ... -
How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…
... before and after if the value in the a register is ... pass the length of the string (either put a 0 byte ... at the end of the string like this
str ... the last byte of the string with 128 and handle that ...
