World of Spectrum
  • Categories
  • Discussions
  • FAQ
  • Sign In
Home › Search
Title Search
@title beer Word 'beer' in title
User Search
  • @user admin Only posts by Admin
Text Search
  • @body beer Word 'beer' in the text
Phrase Search
"Hello World" Exact phrase match
Exclude Terms
  • car -red Search cars that are not red
"Or" Searches
  • honda | bmw 'honda' or 'bmw' results
Multi-Field
@(title,body) hello Both contain 'hello'
WildCard
  • hond* civ* Match all with an astrix
Combination
  • @title bmw @user admin
See more supported syntax examples
Search Again :: Adv Search 1000 results in 0.013s
<1…78910111213…34>
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... tile based rendering and scrolling routine.

    It draws in ... as a test of the routine it serves it's purpose ... result in DE for draw routine

    draw_tile ld hl ...
    ld (position_var),hl ; Reset print position

    ret
    Zoltar Zoltar September 2011 Development
  • 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 ... $(2 TO 11)=" " THEN
    PRINT #0;"F Invalid file name ... +CHR$ 128+l$
    9994 PRINT #0; FLASH 1;"m/c ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • 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…

    ... So here's a routine to provide all of the ... 7
    19 PRINT "OpCd A"
    20 PRINT "CPL ";a,"= ... +VAL "(,a"
    23 PRINT "RRC ";a,"= ";USR 40021 ... +VAL "),a"
    24 PRINT "SLA ";a,"= ";USR 40021 ... +VAL "{,a"
    33 PRINT "RR ";a,"= ";USR 40021 ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • FN nesting error?While playing with FN functions that call assembly, I've found something weird. Check out this code: [code]10 DEF FN f(a,b)=a+b 20 PRINT FN f(FN f(…

    ... with FN functions that call assembly, I've found something ... REM fail!
    40 PRINT FN f(FN f(2 ... ): REM works!
    50 PRINT FN f(FN g(2 ... ): REM works!
    60 PRINT FN f(FN g(2 ... REM works!
    90 PRINT FN g(FN g(2 ... ): REM works!
    100 PRINT FN g(FN g(2 ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • 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…

    ... two versions of each routine, using either:
    "PRINT USR r0,p1 ... fixed point then the 'initsr' routine can be discarded (this alters ... assembler listing is so that routine addresses can be calculated by ...
    Battle Bunny Battle Bunny October 2011 Sinclair Basic
  • 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 ...
    Battle Bunny Battle Bunny November 2011 Sinclair Basic
  • Print Screen not Working on Windows 7I know I know this is chit chat and not a tech support forum. I ask here because the info on the web about this issue is generally shyte. I'm asking …

    ... the feature of pressing the "Print Screen" to commit the current ... but screen dumping via the print screen feature does nothing.
    print screen key on this laptop ... how can I restore my print screen feature, I've tried ...
    Scottie_uk Scottie_uk November 2011 Chit chat
  • 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 ...
    Meurglys68 Meurglys68 November 2011 Sinclair Basic
  • 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…

    ... one single LOAD ""CODE 24572 : PRINT USR 25067, the game starts ... with "1" is a LDIR routine that moves the previously loaded ... ""CODE 245772: POKE 23728,233: PRINT USR 25067

    Alternatively ... ""CODE 245772: POKE 25457,233: PRINT USR 25067
    mcleod_ideafix mcleod_ideafix November 2011 Games
  • 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 …

    ... 's a short routine to manage printing ... ;JP address

    ;PRINT USR stack,string_expression,max_length,substr ... inc b ;don't count print controls
    PRCHAR: rst ...
    rst $10 ;print a character
    pop ...
    Battle Bunny Battle Bunny December 2011 Sinclair Basic
  • 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 ... 20 NEXT a
    30 PRINT valA'valB'valC
    31 ...
    The syntax is:
    ;PRINT USR indirect,arg1,op,arg2 ... />
    ;Indirect Variable Assignment
    ;PRINT USR indirect,arg1,op,arg2 ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • 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 …

    ... routine method of a screen buffer and when I finish to print ...
    climacus climacus January 2012 Development
  • Creating a new game - AssemblySo... finally I?m studying Assembly Z80... after 36 years. :) Well... it?s sooooooooooooo hard to make a game using Assembly? I bought a book (Spectr…

    So... finally I?m studying Assembly Z80... after 36 years. :)
    ... to make a game using Assembly?
    I bought a book ...
    Turrican Turrican January 2012 Development
  • 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…

    ... ; eg.:
    [code]
    PRINT USR undefine,"a","bbb","c ... FOR z=first TO last: PRINT USR undefine,z$(z);: NEXT ... /> RECLAIM2: equ $19e8 ;ROM routine RECLAIM_2
    SCANNING: equ $24fb ... from BASIC by:
    ;PRINT USR undefine,"arg1"[,"arg2"...,"argn ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • 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 ... the ATTR P settings, reset PRINT AT without all the fuss ...
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • 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 ... /c"CODE mc,ml:
    PRINT "m/c starts: ";mc'"NOT ...
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... any better than a simple PRINT instuction?


    10 ... =1 TO 3: READ a$: PRINT AT m,1;a$: NEXT ... present etc

    Would PRINT OVER be any use on ...
    Wookiee Wookiee February 2012 Sinclair Basic
  • 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…

    ... tokens;
    * numeric parameters following print controls use characters "?" to "?" ... needs a short m/code routine), after which it can be ... graphics string;
    * to print a background just set 'm ... a

    REM print each DATA statement as m ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • 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…

    ... used in the game to print the screens directly from ... the print controls in the DATA lines.)

    The routine at ... an independent program segment saving routine. It just saves selected ranges ... to go through its exit routine to restore things; just enter ...
    Battle Bunny Battle Bunny February 2012 Sinclair Basic
  • Using Boriel's ZX Basic to learn assemblyI wrote a small guide. Hopefully some people will find my gibberish useful - especially people looking at first steps in machine code, where I think …

    ... /tutorial-how-to-put-inline-assembly-functions-into-zx-basic-t729 ...
    Gedlion Gedlion February 2012 Development
  • 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?
    daveysludge daveysludge February 2012 Development
  • 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 ...
    Battle Bunny Battle Bunny February 2012 Development
  • 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 ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • 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]…

    ... it provided instead a routine to directly print tiles on screen (if ... , and AFAIK gasman invented the routine to render 18 multicolor columns ...
    Einar Saukas Einar Saukas March 2012 Brand new software
  • Interview with VERONIKA MEGLER ("The Hobbit" programmer)This interview with Veronika Megler (The Hobbit) has been published by elmundodelspectrum.com in Spanish, I copy it here for you all in its original …

    ... ?d call Phil?s graphics routine and his code would draw ... some time period, it would print ?time passes?, and then all ...
    jmvbok jmvbok March 2012 Games
  • Model Railway Timetable Version 1.4.12.0313...Hi Folks, Since November 2010 I have been working on my [B]Model Railway Timetable [/B]software. Thanks to the considerable help and patience of yo…

    ... of WOS:

    * Proportional print routine (Tony Samuels)
    * Memory move ... routine (Battle Bunny)
    * New random ...
    Paddy Coleman Paddy Coleman March 2012 Sinclair Basic
  • Learning to program in AssemblyI hope Im posting in the right place. My question is what is the best way to start learning assembly on a ZX Spectrum. I've done some simple assemb…

    ... best way to start learning assembly on a ZX Spectrum. I ... 've done some simple assembly on a DSP chip and ... or software used to enter assembly language and to save it ...
    Terrorhertz Terrorhertz March 2012 Development
  • 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…

    ... parameter to a m/c routine, as mc can retrieve numvar ... I know would be:
    * PRINT USR mc,s$;: but that ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • 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 …

    ... an interrupt mode 2 service routine and uses POP and PUSH ... routines to print to the buffered display and the routine will
    routine, not even as developed as ...
    chev chev April 2012 Development
<1…78910111213…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
assembly 3.2K 4.3K
routine 9.5K 14.8K
print 8.5K 20.4K

Related Threads

  • Print routine for BASIC (or BASin)For anyone interested there's a crappy binary here to print characters from BASIC at pixel positions. Import the binary at 60000, USR 60000 to initia…
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy?<br /> <br /> That is print(y,x,CHAR) that allows 0 &lt; y &lt; 192 and 0 &lt; x &lt; 25…
  • Print text in assemblyHello,<br /> <br /> a perhaps simple question: I would like to print a text string on the screen and I wonder how to do that in the most easy way? <b…
  • Proportional Print Routine...Hi Folks,<br /> <br /> Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints …
  • 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 …
  • ROM PRINT routine issuesHi all,<br /> <br /> I am using the ROM print routines a lot in my assembly program and I'm experiencing issues. I am changing the system variable…
  • LINE-routine and other nice pieces of codeThe line-topic came in the end with a nice piece of fast coding.<br /> <br /> I think that there might be more of these routines out there (where-eve…
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code.<br /> <br /> The line routine th…
  • Spectrum assembly programmingHi, I'm passionated in assembly programming and I'd like to find some documents talking about Spectrum (not Z80). Do someone have interesting referen…
  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …

Related Searches

  • fastest screen routine
  • screen routine
  • print a char in asm
  • im1 interrupt routine
  • im1 rom interrupt routine
  • assembly print text
  • assembly print text at pixel
  • rst 16 print routine
  • fast print routine
  • print routine
  • text print routine
  • custom print routine
  • print text assembly
  • print assembly
  • print at text assembly
  • assembly print at
  • rom print number routine
  • assembly routine
  • assembly routine graphics
  • load tape assembly routine headerless

Copyright © 2024 World of Spectrum