-
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…
... one. So here's a routine to provide all of the ... -
probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…
... basis of my text printing routine for the intro screen of ...
ret
printline: ; Routine to print out a line ... -
Find-Fill-Copy functions for BASICThere's not much going on here, so here's three m/code routines to provide some data manipulation functions which are otherwise slow to do from BASIC…
... are two versions of each routine, using either:
"PRINT USR ... fixed point then the 'initsr' routine can be discarded (this alters ... assembler listing is so that routine addresses can be calculated by ... -
The short blocks loaded in Jet Pac(Hope this have not been previously discussed. If so, my apologies) Is there any reason why Jet Pac loads three short blocks after the main block? I…
... with "1" is a LDIR routine that moves the previously loaded ... -
AGES v.2 gamebook solverAll this talk of mazes has been leading up to the release of the latest (numbered 2, but more like 22) version of my gamebook solver programs, which …
... the BASIC, and the search routine itself of course. Lots of ... -
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…
... single command, here's a routine to do it, tested on ... -
Alkatraz protection systemI recently became interested in the Alkatraz protection system, a very widely used tape protection (a infoseek search returns more than one hundred r…
... easy to find, the save routine or mastering code is not ... -
Procrustean PrintingHere's a short routine to manage printing of text with command tokens, to avoid messing up the screen when they are expanded. It just prints as many …
Here's a short routine to manage printing of text ... -
Calculating percentage..or even calculating percentage. Maths and asm I find verryyy tricky. Can anyone suggest the easiest/best way to calculate a percentage from two 1…
... tail of the multiply/divide routine)
Any help gratefully ... -
Indirect Variable AssignmentHere's another wacky routine. This allows assignment of values to variables where the source & destination variables can themselves be defined in var…
Here's another wacky routine. This allows assignment of values ... -
Screen routinesHello. For my games I?m using the sprites routine method of a screen buffer and when I finish to print all the sprites I dump all the buffer in the …
... I?m using the sprites routine method of a screen buffer ... -
Faulty Interface one, IF1Dear all, as I have already mentioned in a different thread my IF1 stopped working for no special reason. I went through the service manual and chec…
... not receive any data.
- RS232 I check the function of ... -
PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…
How do you go about it?
If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it?
I wouldnt know where to start... :confused: -
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…
... ]
RECLAIM2: equ $19e8 ;ROM routine RECLAIM_2
SCANNING: equ $24fb ... ;ROM routine SCANNING
LOOKVARS: equ $28b2 ... ;ROM routine LOOK_VARS
FETCHS: equ $2bf1 ... -
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…
... worry about writing a sprite routine, a joystick handler and you ... -
Using ATTR detection in machine codeIs there a ROM routine that can be called that reads the ATTR value of a co-ordinate?
Is there a ROM routine that can be called that reads the ATTR value of a co-ordinate? -
Loading the display with data from memoryTrying to load part of the screen(4k's worth) with data from memory location 53000, I've written this routine, but it doesnt work... [I]ld b,4000 ld…
Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…
... know of a simpler/quicker routine that will clear the screen ...S-S-Sample black borderI'm wanting the 'S-S-Sample' routine from YS to play the sounds without the flashing border effects. A plain black border is required. Heres the rou…
... wanting the 'S-S-Sample' routine from YS to play the ... required.
Heres the routine, I've tried messing about ...+3e with DivIDE systemsIf we replace old R-GAL chip on original DivIDE with new XR-GAL (this is only firmware for GAL chip) then will possible DISABLE or ENABLE any DivIDE …
...
RET
This routine reset DIVIDE paging port and ...Need help with programmable chipI know there's quite a few people in here who are pretty clever with data-interfaces and programming, so I hope someone could give me some advice abo…
... -UC001_Ver1.0_EN.pdf"]this USB-RS232 Serial Convert Communication Module [/URL ...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…
... years ago I posted a routine for storing machine code between ... changing. To resolve this the routine assigns DEFADD to the display ... DEF FN statement, so the routine works even though some of ...joining lines of BASICDue to overwhelming demand - well, one demand - well, more of a suggestion, really - here's a routine to join together lines of BASIC. The vertical c…
... suggestion, really - here's a routine to join together lines of ... code is based on the routine "Edit Key" by M.Loftus ...ArturaI tried to load the Artura tzx copy on the archive: [URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0000282"]http://www.worldofspectrum.org/in…
... . In the debugger, the loading routine is still searching for the ...more on storing mazesPrompted by Wookiee's escapades, I've been pondering on how to use DATA statements directly for displaying background graphics, thus avoiding the dup…
... needs a short m/code routine), after which it can be ...BOB the Screen BuilderHere's my first attempt to use that tokenising idea from "more on storing mazes" in a screen designer - "[url=http://www.users.globalnet.co.uk/~jg27p…
... DATA lines.)
The routine at 9990-9998 (which is ... an independent program segment saving routine. It just saves selected ranges ... to go through its exit routine to restore things; just enter ...Interface 1 cloneIs there any Interface I clone shematic avalible for me to build from? ZXnet and RS232 is the important part for me.
Is there any Interface I clone shematic avalible for me to build from? ZXnet and RS232 is the important part for me.SAGE gamebook project newsThat's the Spectrum Adventure Gamebook Enhancement, that is (for the time being, anyhow). I've updated the [url=http://www.users.globalnet.co.uk/~jg2…
... the required format for the routine will be added to AGES ... a 400 location book) the routine itself has to be run ...Vortex Tracker binary format?Hi! Does anyone knows how is the Vortex Tracker format? I don't need the .PT3 format, which is essentially a text file, but the binary form that Vort…
... Tracker exports with the player routine itself.
My goal is ... : I see that the INIT routine actually performs some kind of ...