-
Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …
... you just do a 'simple' CLS at the end to clear ... -
Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …
... you just do a 'simple' CLS at the end to clear ... -
Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …
... it's not the best cls in the world but I ... -
Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …
... that as part of my cls routine you need to keep ... -
Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …
... that as part of my cls routine you need to keep ... -
Keyboard problem...Hi Folks, I have hit a problem in MRT and I cannot see how to get around it. Please allow me to explain. I have a list of items from which one can…
... all-purpose "keyboard depressing loop" subroutine work?
I mean ... , make this subroutine:
[code]9000 IF ... -
BorderTron 3000A little bit of speccy-related fun for a Friday afternoon... I've knocked together a program for Windows which I've called Bordertron 3000 (a suitabl…
... have each one as a subroutine and CALL it (you'll ... -
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…
... .
CALL L0D6E ; routine CLS-LOWER clears the lower screen ... -
Z80 emulation C source with a permissive license?Could anyone recommend a good (all opcodes, proper timings) Z80 emulation code in C with a simple permissive non-viral license? Something without a w…
... . If your program is a subroutine library, you
may consider ... -
Byte-order backbufferThis is a tool for Z80 coders who wish the Spectrum screen had a serial layout. It runs as an interrupt mode 2 service routine and uses POP and PUSH …
... interrupt handler
blit: ; subroutine to blit 16 from location ... -
Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?
... , but struggling, is there any subroutine/program for enlarging UDG's ... -
Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?
... b
20 INPUT u$: CLS : LET u=udg+(CODE u ... -
What if there was no memory or space limitation?What if there was no memory or space limitation? We've had topics about the limitations of the Speccy's hardware, topics where we discussed how good …
... you need to CALL a subroutine, you have to make sure ... -
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…
... FN; eg. if the redirection subroutine was at 2000:
[code ... FN space from where the subroutine at 2000 could retrieve them ... -
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…
Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…
... top of splib2's PRINTAT subroutine (splib2 is the predecessor to ...Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…
... top of splib2's PRINTAT subroutine (splib2 is the predecessor to ...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…
... 0: PAPER 0: INK 7: CLS : PRINT AT 0,0; INK ...Arcade Game Designer 3The latest version of the arcade game creation tool for the 128K Spectrum. AGD 3 now boasts pop-up menu and inventory facilities for arcade adventur…
... ' ROUTINE
; --------------------
; This important subroutine is used to calculate the ...Need to scroll one column using m.c.I've used many of the available routines to scroll the entire screen in any direction, but I'm not being able to find one that would allow me to scro…
Firstly, the "thought" I had was just to compare doing the scrolling in BASIC, out of curiosity. Assigning the attributes for rows 9 downwards (9 being the top row on which a square prints) to A$ and using "LET a$=a$(2 TO)+CHR$ 0" scrolls the attributes ...Decimals!Quick couple of (probably very silly) questions, folks... If I have an input command in a program asking "How many potatoes do you want to buy from …
I'm working on a piece of basic that will test a number for divisibility, so I'm looking at using the INT command to check if a value comes out as an integer, then running an appropriate subroutine to display the result. Any advice on doing this?Decimals!Quick couple of (probably very silly) questions, folks... If I have an input command in a program asking "How many potatoes do you want to buy from …
... integer, then running an appropriate subroutine to display the result. Any ...question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…
... . The bug is in the subroutine at address 1634 which makes ... been cured in the READ_IN subroutine at address 3645 by preserving ...z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…
... it makes a lot of subroutine calls that sdcc inserts inline ...z88dk vs. sdccI've just read this article (in Spanish) [url]http://www.cpcmania.com/index2.asp?urldest=Docs/Programming/SDCC_vs_z88dk_Comparando_tama%F1o_y_velocid…
... it makes a lot of subroutine calls that sdcc inserts inline ...General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …
Hi Folks,
Hard to believe it is 18 months since I posted this. Now on version 3.2 (see demo program below). This version is smaller (300+ bytes) and faster than the previous version.
As before it still offers the following ...General purpose full screen input routineHi Folks, One of the things that annoyed me back in the 1980s with most BASICs was the lack of a full screen "formatted" input function. You could …
... /> [/code]
enables a parameterised subroutine structure, such that, for example ... can be referenced in the subroutine by the names used in ...Untitled Zombie GameBought a Speccy 48k (wanted a 16k with a 32k Cheetah rampack and Kempston interface, but couldn't find a 16k) and started writing BASIC for the first…
... /> 160 INPUT a$
161 CLS
170 IF a$=”m ...
