-
automatic relocating of non-relocatable codeI was pondering upon the problem of changing absolute addresses used by CALL, JP, etc. when code is moved, without reassembling at the new location; …
... to save SP to a variable location, either to a register ... -
128k RAM paging from BASICI'd always thought that OUT had to be used to page RAM, which from BASIC would be an "OUT 32765,ddd" command, although I don't know if just doing tha…
... +n" (being the BANK_M system variable) will switch in page 'n ... -
z88dk + File Handling ProblemHello my fellow WoS'ers I thought I would ask here as I am having a bit of trouble with a very simple C program that I wrote for the spectrum using…
... PROGRA~1\z88dk\lib\spec_crt0.opt C:\DOCUME~1\Zetr0\ ... LOCALS~1\Temp\s61s_1.opt
copy C:\DOCUME ... Zetr0\LOCALS~1\Temp\s61s_1.opt C:\DOCUME~1\Zetr0\ ... \Zetr0\LOCALS~1\Temp\s61s_.opt
z80asm -eopt -ns ... Zetr0\LOCALS~1\Temp\s61s_1.opt C:\DOCUME~1\Zetr0\ ... -
Crazy Library failure in z88dkHello there my fellow WoS'ers yet another late night problem for the wee small hours I recently managed to get file-handling working very well, t…
... PROGRA~1\z88dk\lib\spec_crt0.opt C:\DOCUME~1\Zetr0\ ... LOCALS~1\Temp\s4fo_1.opt
copy C:\DOCUME ... Zetr0\LOCALS~1\Temp\s4fo_1.opt C:\DOCUME~1\Zetr0\ ... \Zetr0\LOCALS~1\Temp\s4fo_.opt
z80asm -eopt -ns ... Zetr0\LOCALS~1\Temp\s4fo_1.opt C:\DOCUME~1\Zetr0\ ... -
Sys64 - bug foundI've found experimentally on real ZX Spectrum and on emulator that [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0008823"]Ron Seniscal's SYS…
... being calculated from CHANS system variable. This way, the ROM of ... -
AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…
... /> call EX1NUM ;stack 1st variable
pop af ;A ... /> call EX1NUM ;stack 2nd variable
call FPTOBC ;C ... call FPTOA ;A =1st variable
pop bc ;C ... -
Distinguishing between models?I'm running the risk of being pointed to the faq here, so sorry in advance. Something I'm trying out requires that the program can distinguish betwe…
... whether there is a paging variable, or the differences in some ... -
Would you be an organ donor?I don't know what prompted it, but at work I overheard a typist tell another that she'd never sign up to be an organ donor as if you were dying in ho…
... , I'd have the proposed Opt-out scheme that was in ... a donor unless they deliberately opt out. That way you gain ... a donor, then they can opt out whilst they're still ... their any good reasons to opt out of it? I know ... -
ebay picture thiefsdunno if any of you have this issue.. you list an item, take a pic.. so therefore it's your (C) .only to find out another seller has gone on your lis…
... "ebay catalog" thing , but I opt'd out of it as ... -
Issue 2 voltage troubleDear all, I got my hands on an old issue 2 from a friend. Price was close to zero so I did not hesitate to take it. After powering it up I was sur…
... to tune by adjusting the variable resistors and capacitors without any ... -
opening Microdrive cartridgeI've been trying to replace the tiny 'sponge' with variable success. in two tiny tapes it worked but, iirc, they worked even with no sponge at all. I…
... replace the tiny 'sponge' with variable success. in two tiny tapes ... -
SpecBAS 0.718 Now AvailableHi Folks! After an appreciable delay, the latest and (dare I say it?) greatest SpecBAS update is now available. We're moving into modern times with …
... is stored inside a string variable, it can be manipulated just ... call procedures based on a variable's contents.
CALL ... the correct RESULT or RESULT$ variable or things may get weird ... structure members present in that variable, if a structure has been ... -
Undefine functionHere's a routine to selectively remove variables from the VARS area and reclaim the space. This can be done partially from BASIC already by assigning…
... FETCHS
ld (CH_ADD),de ;variable name address
push bc ... de
jr c,CHKNXT ;variable already undefined
jr z ... de,hl ;HL=address of variable
call RECLAIM2
... -
A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…
... /> };
// Attach C Variable to data Declared in ASM ... -
SpecBAS 0.724 Now available!Hi folks - Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for o…
Hi folks -
Again, a new SpecBAS for you. Some stunning bugs made their way into the last one, so I had to get a new version out sharpish. And for once, you windows folks are at the bleeding edge :)
Anyhoo, new features are few ... -
storing machine code in BASICA couple of years ago I posted a routine for storing machine code between PROG & VARS, based on an idea in Toni Baker's "Mastering Machine Code". Thi…
... the PROG area, because the variable letter for a$() is encoded ... -
SpecBAS 0.730 Now available!Well, I felt I should release SpecBAS as it is right now - my new son has been born (this one survived! \o/ ) and when he comes home I'll have very l…
... 't rely on state or variable information are interpreted at line ... -
Generating a constant of 2?Hi Folks, Through "The Wizard of WOS" I learnt that you can generate constants as follows: [B]NOT PI=0 SGN PI=1 INT PI=3[/B] Is there a quick way …
... />
I could use a variable but I have 42 of ... -
Help needed with a loop counterVariable W counts to 12 then calls a subroutine to move a character, it then resets to zero and starts again. For every 2 moves of that character I …
Variable W counts to 12 then ... to faff about with other variable counters.
Currently it ... based on the current level variable S, but I cant think ... -
University ChallengeNearly two weeks ago Manchester University won the first University Challenge semi-final to get into the upcoming final against Pembroke College, Cam…
... are the values of the variable when the expression is equal ... -
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 …
What'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 a condition which varies during the program? As the bit number has to be explicitly coded in assembler the ... -
Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…
... to by the UDG system variable.
Is it possible ... -
Difficult to find upper RAM fault.I've recently repaired an issue 3B 48K Spectrum that had a tricky to diagnose upper RAM fault, so I thought I'd post a report of what I found here. …
... PEEK to examine the system variable P-RAMT produced 32767; it ... faulty. The P-RAMT system variable is set to the address ... -
BASin v.15 DEF FN bugThe bug would appear to be in "BASSupport.pas : Procedure ProcessDEFFN"; as it's not inserting the 6-byte variable place holder after each parameter …
... not inserting the 6-byte variable place holder after each parameter ... -
INPUT LINE and STOP in INPUTWhat was the reason for the ROM Editor routine causing "down arrow" while in an INPUT LINE to cause the "H STOP in INPUT" error report? Why doesn't i…
... Input buffer into a string variable so I didn't lose ... -
simplest method to pass a string to m/code?The statement "RANDOMIZE numvar+USR mc" is a simple way of passing a single numeric parameter to a m/c routine, as mc can retrieve numvar from the to…
... the same for a string variable but haven't done so ... -
Shaded Desktop...Hi Folks, As part of some BASin testing I thought I would create a little program that creates a shaded desktop. In this case it goes from solid bl…
... in 25% decrements. The b$ variable could then be stored separately ... -
+3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…
... a +3 disk to a variable somehow from BASIC? I'm ...
