-
Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…
... />
I have written a routine that allows a blue bar ... =ATTR (y+1,0):
PAUSE 1:
PRINT AT y ... 7;l$(1)
210 PAUSE 0:
LET k=CODE ... -
Help needed with simple MCode routineI'm trying to code a routine to clear the screen and I can't figure out why it's not working: ld hl,16384 ld bc, 6144 loop:ld (hl),0 inc hl dec bc l…
... 'm trying to code a routine to clear the screen and ... -
Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…
... 'm trying to write a routine that will take an X ... -
A fast DRAW routineI was investigating how to speed up the line drawing for the [URL="http://www.worldofspectrum.org/forums/showthread.php?t=20225"]BASIC compiler[/URL]…
... an asm Bresenham's drawing routine. The routine was shorter an faster ... every call to the PLOT routine, the coordinates were being ... Bresenham's algorithm. This ASM routine "pokes" itself at the ... .
NOTE: This routine should draw at any location ... -
Screen$ command, ROM routineHi All, Does anyone know which ROM routine to call for the Screen$ command (and/or the ATTR command)? Any comments on how well it works or the spee…
... /> Does anyone know which ROM routine to call for the Screen ... -
Utility or routine to save/display imagesLet's assume I have an image or sprite at coordinates x,y with w witdh and h height. If I were to store this image, which storage method would allow …
... an utility or any available routine that would allow me to ... also have a machine code routine which can turn an are ... -
Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…
... of a good proportional printing routine for the ZX Spectrum? Ideally ... -
saving part of a BASIC programHere's a short routine to save part of a BASIC program. The idea is that it can be merged into a program and then used to save sub-routines, etc. to …
Here's a short routine to save part of a ... Invalid file name, 9992:0": PAUSE 0: STOP
9993 LET ... -
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 ... "S,a,b"
99 PAUSE 0: CLS : NEXT b: NEXT ... -
tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…
... last segment of the CLEAR routine to finish off. It could ... -
Problem with a small basic routineDear all; I have been messing about with a routine (originally published in Your Computer 1982, by Tim Langdell). The idea of the program is to simul…
... been messing about with a routine (originally published in Your Computer ... -
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 ... -black border)
a long pause (a dozen seconds or so ... -
Using the ROMs PRINT routineI really am starting from scratch again it seems, but how do you utilize the ROM routine to print characters, I think you point te BC register to an …
... do you utilize the ROM routine to print characters, I think ... -
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 ... -
Game over routineA few years back I remember a routine that printed 'game over' or other message randomly all over the screen in different colours. Think it was out o…
A few years back I remember a routine that printed 'game over' or other message randomly all over the screen in different colours. Think it was out of YS, but not sure.
Anyone remember what it was called or where I could find it? -
The INPUT command routine ($2089)I was looking at the INPUT routine with a view to modifying the intro so that I could pre-load the workspace and edit an existing value, rather than …
... was looking at the INPUT routine with a view to modifying ... -
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…
... than will fit; it will pause when the window is full ... the required format for the routine will be added to AGES ... a 400 location book) the routine itself has to be run ... -
Memory move routine?Hi Folks, I have been searching for the thread that covers the memory move routine that uses a$=b$ via DEF FN. I thought it was written by Battle B…
... that covers the memory move routine that uses a$=b$ via ... -
A new multicolor engine called BIFROST*I'm glad to announce the release of a new multicolor engine implemented by yours truly, including high quality 16x16 tiles designed by R-Tape: [IMG]…
... if it provided instead a routine to directly print tiles on ... it would just need to HALT first to synchronize and avoid ... , and AFAIK gasman invented the routine to render 18 multicolor columns ... -
3D Wireframe/vector animation creator and player?Is there any software that can help record wireframe 3D animations by creating a file that stores just the coordinates and lines? If the answer is "n…
... a routine that can play all frames with custom speed or pause ... -
Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…
... with a wee machine code routine. I have written the following ... 1; PAPER 7,,,,
130 PAUSE 0
140 FOR a ... -
What's wrong with this code ?OK, working my way through Jonathan Cauldwells 'How To' tome and I can't get the following to run in either spin or basin. ( iused the assembler in b…
... .
call 3503 ; ROM routine - clears screen, opens chan 2 ... splayr ; show player.
halt ; delay.
; Jump back ... s gunbase position,
; this routine is called prior to display ... -
BIFROST* Advanced Programming - part 2This second demo shows animated and moving tiles together, and also how to implement collision detection. This knowledge should be enough to implemen…
... of "erase" (routine BIFROST_fillTileAttrH) or "draw" (routine BIFROST_drawTileH) there ... {
// frame sync
asm("halt");
}
// ... to implement collision detection. Routine "collision" calculates the ... -
redirecting Z80 sub-routine CALLsI'm working on changing a TR-DOS disk program to work from standard +128k tape and thought that rather than painstakingly working through the code ma…
... could install some automatic redirection routine so that whenever the PC ... it would jump to my routine instead. This would be just ... -
problems with rndGot past the whole INKEY$ issue and now am trying to pin down the combat section of the game. got a basic combat routine however, when i try and gen…
... />
got a basic combat routine however, when i try and ... /> 70 PRINT MH
80 PAUSE 10
90 LET PH ... -
40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…
... a 40 column printing routine, which I'd like ... 40 Column Font & Routine."
defb 22,5, ... /> call rst16replacement ; basically the routine replaces rst16
inc hl ... OVER flag - if 0 the routine clears space for the printed ... -
Mini scroll routineI'm looking for a routine that scrolls a small section of the screen downwards and replaces it with nothing, 2 x 2 charcter blocks to be precise, to …
I'm looking for a routine that scrolls a small section ... />
I seen a similar routine in 'Input' magazine many years ... -
How to PAUSE in JAVA emulator...As title says I wanna know how to pause a game in built-in emulator here on WofS web page ?
...As title says I wanna know how to pause a game in built-in emulator here on WofS web page ? -
multi-scroll m/c subroutine for BASICArising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. whe…
Arising from recent posts, here's a scrolling routine that will manage multiple left/right scrollings for any (sensible) line width or step; (ie. where width is
