-
machine code player routineHi all, Collecting all my courage to ask more (rather stupid attitude from me, but so difficult to ask questions and bother other people, don't unde…
... uses 23760 to call a routine and 23760 is old method ... need similar kind of playing routine ie. saved to first REM ... address XXXXX,
calls playing routine (without saving) to output the ... or how to do the routine itself.
Any suggestions ... -
Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…
clarification needed of assembler graphics routineI was wondering if someone used to coding animated graphics in assembler can take a look at [url=http://www.users.globalnet.co.uk/~jg27paw4/pourri/as…
... /~jg27paw4/pourri/asmchunk.txt]this routine[/url] and explain what the ...Looking for cursor routineIt's been a long time since I programmed a little bit in Basic, so I decided to create a simple cursor routine: [url]http://db.tt/SPnSdpx[/url] I k…
... to create a simple cursor routine:
[url]http ... :razz: But considering the above routine, can someone please help me ... via POKE before launching the routine.
-The addresses where ... stored right next the last routine byte. That way everything ...Sprite RoutineI was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented. The screen …
I was wondering if anyone could point me in the direction of a really basic example of a per-pixel sprite routine? Preferably commented.
The screen layout confuses me so much!INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…
... useful:
[CODE]100 DIM i(4)
110 LET ... STOP
9000 REM INSTR ROUTINE
9010 REM a$=String ...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 ... happening:
[CODE]100 DIM l$(1,64)
110 ...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 ...IM2 calls to player routine on 128k?Hi all, Apologies for being crap, and not even in a funky, skillo kind of way but it's been over 20 years since I last wrote anything in machine cod…
... found that calling the play routine before halt keeps munging my ...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 ...Help with random numbers......Hi all, wonder if anyone can help me... sort of a novice here ... I have been trying to write a simple ish basic program to compare random sets of n…
... included a little (poorly written routine) to print out the results ... numbers that the random generating routine (that i thought would work ... INTO X ARRAY
20 DIM X(126)
30 LET ... C=1
40 DIM A(49)
50 LET ...Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…
... br /> ret
; ----------------------------------------------
; ROUTINE: print_message
;
; prints a ... , :p
; ----------------------------------------------
; ROUTINE: get_defined_key
;
; check for ...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 ... +1)
9990 CLEAR : DIM h$(17): DIM c$(68): LET h ...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 ...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 ...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 ... The method is to assign DIM a$() at the start of ... "GO TO 9161". The DIM a$() is set as n ... changing. To resolve this the routine assigns DEFADD to the display ... SUB 9164: INPUT "New ";n: DIM a$(n-32): LET nv ...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 ...
20 LET num=2: DIM m(num+2,2): LET ...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 ...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 ...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 ...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 ...saving time populating large arraysI use a variation on this idea for storing machine code at the end of programs without interfering with LIST, then it occurred to me that it would al…
... the program every time, this routine enables it to be populated ... (or else by calling the routine as a direct command) it ... .
Here's the routine. It just uses a small ... TO 9998
9993 CLEAR: DIM d$(6,4): PRINT "populating ...
