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.012s
<1…16171819202122…34>
  • An intriguing question...Well, intriguing for me anyway. As we all know, when calling a Machine Code function from BASIC, we use the USR (address) function. But for this to …

    Not only does the USR routine give back the value of ... affect the output.

    PRINT USR will display at the ...
    Dr BEEP Dr BEEP June 2004 Development
  • Strange layout of Spectrum video memoryHello, does anyone have an idea why the Spectrum's video memory has such a strange layout? I understand that a resolution of 256x192 is an easy mean…

    ... do something with the PRINTing routine in the ROM.
    Once ... pixelrow from a character. For PRINT the screen is easy, for ... a lot harder.

    PRINT TO SCREEN
    [code]
    Dr BEEP Dr BEEP August 2004 Sinclair Miscellaneous
  • Program sizeI am typing a basic program into a ZX and I need to find out exactly how much memory it is using. Is there a way to calculate this? :confused:

    ... machine stack.
    An unused routine in the ROM is used ... /> This was probably a debugging routine left in by the developers ... mentioned in the manual.
    PRINT USR 7962 actually returns the ... free memory further.
    The routine allows a general overhead of ...
    Geoff Geoff August 2004 Sinclair Miscellaneous
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... do. I saw the AChar routine and assumed it was calculating ... . Replacing PChar with a routine to print a Char row with clipping ...
    AndyC AndyC August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ...

    ; **** START INTERRUPT ROUTINE ***

    MainLoop:
    ; ... PChar

    ; Only print a 3rd column if moving ... RET Z

    ; Print 3rd column, checking for wrapping ...
    robpearmain robpearmain August 2004 Development
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it Note, for 48k spectrum using TASM [code] ; ***********…

    ... br />
    ; **** END INTERRUPT ROUTINE ***

    MoveAndPrintSprite:
    LD ... CALL WrapCharVertically

    ; Print next char and move to ... WrapCharVertically

    ; print the last blank char
    robpearmain robpearmain August 2004 Development
  • PokesDoes anyone know where I can find a list of Pokes for my Speccy games? I am trying to find some for On the Bench ! Thanks

    ... 22: INPUT T$(A,B): PRINT A;"-";B;"-";T$(A,B ... it being a rather tedious routine), then when you have made ...
    jil jil September 2004 Games
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR:


    ; PCHAR

    ; PRINT A 1*8 CHAR TO ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR:


    ; PCHAR

    ; PRINT A 1*8 CHAR TO ...
    robpearmain robpearmain September 2004 Development
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method: a) Background is copied to buffer b) Sprites drawn on buffer c) Buffer …

    ... /> RETI

    ; **** END INTERRUPT ROUTINE ***


    WRITECHAR:


    ; PCHAR

    ; PRINT A 1*8 CHAR TO ...
    robpearmain robpearmain September 2004 Development
  • games written using game writng programsI was reading through some issues of crash not long back and one article was about some 16 year old that wrote Frank n stein for the speccy(never pla…

    ... to read the manual (tiny print on a green background), in ... complimentary demo copy) the rotate routine didn't work.? Hardly a ...
    robert@fm robert@fm September 2004 Games
  • Zecut0r and ZAFA while ago (about 2 yrs)i took VbSpec and tried to port it to Delphi 6. Althought it was pretty weak, it. Meanwhile DelphiSpec 0.1 appeared and i wa…

    ... /> call 3435 ;"call ZX ROM ROUTINE"
    asmend ;"end assembler"
    ROUTINE"
    asmend ;"end assembler"
    end

    procedure emit ;"print ... /> end

    procedure cr ;"print a carrige return to screen ...
    zecut0r zecut0r October 2004 Emulators
  • Help required to calculate screen addressesDoes anyone have some code that calculates the screen address one pixel below the given address ? Is it best to use a lookup table ? Any examples of …

    ... />
    The PLOT-routine starts leftunder, this routine assumes that the pixels ... start left,above like PRINT AT
    Dr BEEP Dr BEEP November 2004 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... /> nline ld hl,noret
    print dec hl
    inc bc ... a,d
    jr c,print
    add a,b
    print dec hl
    inc bc ... opportunities for the 33 bytes routine, which would look like this ... NLINE makes C = #FE
    print dec hl
    inc bc ...
    Dr BEEP Dr BEEP February 2005 Development
  • How to apart a 16K from a 48K?How can I understand that if i have a 16K or 48K? Thanks

    ...

    PRINT USR xxxxx calls a M/C routine that starts ...
    Ian Hamilton Ian Hamilton February 2005 Sinclair Miscellaneous
  • About z88dk and autoexecsThis weekend I was playing a little with z88dk C cross Compiler. Amazing tool! I have three questions: 1- Does anybody know how to change the initia…

    ... :44, cz2000 wrote:
    parameters, print AT, etc.). What are not ... is the basic char output routine that stdio is using. A ... the system vars to store print position, attr, etc. It has ...
    Alcoholics Anonymous Alcoholics Anonymous February 2005 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    ... call PRINT with an UDG you are calling a MC routine, aren ...
    na_th_an na_th_an March 2005 Development
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    [quote]After all, when you call PRINT with an UDG you are calling a MC routine, aren't you?[/quote]

    Erm, technically you're calling a MC routine whatever you do.
    cyborg cyborg March 2005 Development
  • Invisible loading screenI can't remember how this is done (I did it years ago but can't remember how). When loading a screen$ from basic you can see the lines being display…

    ... />
    But it gives a print to the printer!
    (as ... redirects the screen stream output routine to a RET instruction so ...
    Marko Marko March 2005 Development
  • Cool BASIC tricks and tips!Following on from Dunny's excellent suggestion of a compendium of BASIC tips + tricks, I believe it would be better to have a topic dedicated to it. …

    ... * PEEK(x+1)
    20 PRINT FN p(23672)


    If you have a routine for say the movement of ...
    CKay CKay April 2005 Sinclair Basic
  • Need some help making a BASIC gameI'm creating a text adventure in 128 BASIC (I don't like using the 'keywords' in 48 BASIC - It's slow and annoying!) called "The Legend of The Red Dr…

    ... , sonic91 wrote:

    10 print "you are at the entrance ... GO SUB to a sub-routine based on which verb index ...
    Arjun Arjun July 2005 Sinclair Basic
  • GraphicsI can't find this posted anywhere else, but how do you use graphics, other than circle, pixels and lines? For example, how do you draw a filled box o…

    ...
    read a$, c
    print a$
    plot 128, 13 ... , I cloned the spectrum draw routine to use in my own ...
    NotFound NotFound July 2005 Sinclair Basic
  • how do i read the keyboard in assembly? here is the code i tried writting to find out the value of a key call 28f (hex) loop: ld a,255 cp e jr z loop ld (50000),e ret notes from what i …

    ... the values returned from the routine should be as follows:

    i'll print myself out a copy of ...
    mestor mestor August 2005 Development
  • The incredible shrinking screendumpIn this topic I stated that I would be impressed if the screendump could be smaller than 37 bytes. [url="http://www.worldofspectrum.org/forums/viewt…

    ... dec d
    jr nz,print
    call nc,#22b0
    print dec hl
    djnz ... jr nc,nbyte
    {exit routine}
    defb #21
    start ... will probably not effect your print.

    You ...
    Dr BEEP Dr BEEP August 2005 Development
  • BASIC question (in both ways)hi, im fairly new to spectrum stuff.. I bought one a couple of days ago.. im trying to write a basic program that opens a window (drawn with DRAW com…

    Unless you write your own routine (which will be really slow, ... "charactercoordinatex" as an origin to print characters.

    EDIT: Aw ...
    na_th_an na_th_an August 2005 Sinclair Basic
  • Which assembler to useHello again, another question. As I just started fiddling with assembler I used whatever tools were in front of me. In this case, the built-in assem…

    ... .e. write a new ROM-routine which you can load later ... " ; value = 65
    rst 16 ; print capital A
    ret ; back ...
    Dr BEEP Dr BEEP September 2005 Development
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…

    ... and redirect it to a routine of your choice. One afternoon ... 5633 which sets the current print channel.
    jonathan jonathan October 2005 Development
<1…16171819202122…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
print 8.5K 20.4K
routine 9.5K 14.8K

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…
  • 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…
  • 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 …
  • How do I avoid BASIC becoming corrupted on returning from a M/C routine?I'm having trouble with my BASIC program becoming corrupted on returning from a m/c routine which sets all the registers (including the shadow regist…
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers

Related Searches

  • fastest screen routine
  • screen routine
  • print a char in asm
  • im1 interrupt routine
  • im1 rom interrupt routine
  • im1 rom interrupt routine iy
  • interrupt routine
  • best place for interrupt routine
  • turbo load routine
  • simply turbo load routine
  • print variables
  • joe gunn sprite routine
  • scroll rom routine
  • simple sprite routine
  • fast print routine
  • print routine
  • text print routine
  • custom print routine
  • rom print number routine
  • assembly routine print

Copyright © 2024 World of Spectrum