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…26272829303132…34>
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... than the odd Print, Beep, Plot and Tape routine.

    But ...
    Turkwel Turkwel June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    ... a small (56 byte) routine that will print the 'ZX Stripes' at ... the current print position, without permanently affecting the ... exit loop
    rst $10 ;print current character
    inc hl ...
    GReW GReW June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... set.[/quote]

    Now, PRINT PEEK 23606 gives 0, and ... PRINT PEEK 23607 gives 60.
    < ... .)

    [CODE]; A routine to print a text string to screen ...
    ajmoss ajmoss June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    UDG char codes are #90..#a2. You can print them using RST #10 only, because string print routine in the ROM uses bit 7 as end of string code, thus not allowing to print chars with codes >#7f.
    Shiru Shiru June 2010 Sinclair Basic
  • How to insert special characters in Basic and ASM ?Look the next picture. [IMG]http://img25.imageshack.us/img25/9479/scode.jpg[/IMG] I dont know how to insert these black and diagonal characters. No…

    ... RST #10 only, because string print routine in the ROM uses bit ... code, thus not allowing to print chars with codes >#7f ...
    arfgh arfgh June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... /> rst 16 do the actual print
    inc hl point to ... /> jr nz,loop if not print next
    ret ready, back ... write a null-terminated string print routine :)
    Winston Winston June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    [QUOTE=Winston;448233]

    It's amazing how many ways there are to write a null-terminated string print routine :)

    [/QUOTE]

    [code]
    xor a
    or (hl)
    ret z
    rst 16
    [/code]
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... other version ? the one that print characters.

    Is it ... the same with some rom routine that use less code ?
    arfgh arfgh June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    So them the 'plot' rom routine is affected by the same, we cant use it in the down screen lines ?

    shiru, can you show the other version ? the one that print characters.
    arfgh arfgh June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... of the screen. You can print characters to the bottom rows ... 'other' version? You want a routine which does the same as ...
    Shiru Shiru June 2010 Sinclair Basic
  • KING OF PONG: Pong revisitedHello everybody. I'm proud to announce you that my last personal project for the ZX Spectrum, "KING OF PONG" is available to download here at WOS si…

    ... are non consecutive, I'll print the source code on paper ... could give you the actual routine addresses, but I don't ...
    Ricardo Cancho Ricardo Cancho June 2010 Development
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... are the reason why the routine is character-aligned.
    < ...
    ret

    ;DOWN_HL+ routine by Spencer Winsent
    ;this ... routine returns address of the next ... I'll make a routine with custom print, it will be faster ...
    Shiru Shiru June 2010 Sinclair Basic
  • Arkos TrackerHi all, I'm proud to present you my Windows-based Tracker : Arkos Tracker, for you to compose for Spectrum, CPC and MSX. It requires .NET 3.5 at lea…

    ... ) I had difficulties getting your assembly to work in most of ... ] with the sources ready for assembly with pasmo (pasmo --tapbas player ... is:
    [CODE]; *** Interrupt Service Routine (dummy) ****************************************
    ORG &8181 ...
    SyX SyX June 2010 Development
  • Speccy games programmingI've got a question. Where games written in pure machine code or was it a level higher with Assembly language being the choice? I always thought it…

    ... the difference between MC and Assembly Language (mnemonics).[/QUOTE]

    Take the simplest assembly language program you can think ... like the standard screen dumping routine:
    [CODE]ld hl, source ...
    ajmoss ajmoss June 2010 Games
  • 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…

    ... to be a general PRINT routine, not a Sprite routine, which should take ... put in a 64 column print routine soon, and we have a ... for a general purpose sprite routine. What would your recommendation for ... . Obviously a good sprite routine needs to be pixel based ...
    Gedlion Gedlion June 2010 Development
  • 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…

    ... my first shot with the routine failed spectacularly. It drew data ... /> ret
    ;don't print character if > 191 - off ... screen - restore AF and exit Print routine
    ;[this can be ... /> ;
    ;P_AT is a subroutine routine to convert pixel values into ...
    Turkwel Turkwel June 2010 Development
  • 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…

    ... ]
    CLS
    PRINT at 10,10;"Routine 1 (Big K)"
    NEXT y
    print (t()-time)/CAST(float,50 ... />
    CLS
    PRINT at 10,10;"Routine 2 (Turkwel)"
    time ... x
    NEXT y
    print (t()-time)/CAST(float,50 ...
    Gedlion Gedlion June 2010 Development
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... use.

    ;; BEEPER assembly listing... June 17th/2010 By ... br /> RET nz ; EXIT routine if key is pressed
    routine...
    ; Duration will ... onto Calc Stack via Rom routine: Duraton (B)
    ...
    kgmcneil kgmcneil June 2010 Announcements
  • Beepola v1.01A new version of Beepoa, v1.01, is now available for download from:- [URL]http://freestuff.grok.co.uk/beepola/Beepola_v1.01.00.zip[/URL] (650KiB) …

    ... and modify the next-pattern routine manually to select a random ... does involve a bit of assembly programming, but hopefully the commented ...
    ccowley ccowley June 2010 Announcements
  • Arkos TrackerHi all, I'm proud to present you my Windows-based Tracker : Arkos Tracker, for you to compose for Spectrum, CPC and MSX. It requires .NET 3.5 at lea…

    ... assembly, then it works fine... Im curious though... in the PLAYER routine ... called with its label... The assembly ends with something like this ... why can't the initialization routine say something like:

    kgmcneil kgmcneil June 2010 Development
  • Broken ram or what?Hi! I own ZX Spectrum 48K. When i run command PRINT PEEK 23732 + 256 * PEEK 23733, I should get answer 65535? But i get 49151. In my machine the upp…

    ... 4B: thye ROM memory check routine gave me 49152 bytes OK ... . Then POKE 49152,200 . Then, PRINT PEEK 32768 . If you get ... 100 then try PRINT PEEK 49152 . If you get ... jumper. But if the first PRINT PEEK gives you 200, then ...
    mcleod_ideafix mcleod_ideafix July 2010 Hardware
  • Problem with PRINT #stream on +128kWorking on a +128k, I want to choose whether all report output goes to screen or printer, so I use PRINT #stream where stream = 2 or 3 for screen or …

    ... error trap routine so that I could retry the print action from ... I can get it to print to the printer is by ... the program after selecting the print parameters and typing GOSUB 1719 ... I can only get LPRINT / PRINT #3 to work intermittently, and ...
    Battle Bunny Battle Bunny July 2010 Sinclair Basic
  • Games only possible in 128K mode?In the thread: [url]http://www.worldofspectrum.org/forums/showthread.php?t=30145[/url] the discussion of 128K only games comes up, and it made me w…

    ... call in the interrupt routine of Beepola's assembly output (PUSH POP ...
    FrankT FrankT July 2010 Games
  • Adventure Gamebook Solver"It would take me ages to solve that adventure gamebook without AGES" - is what someone might say if they didn't have the [url=http://www.users.globa…

    ... .
    * The AGES-2 update routine unaccountably extracted all the entry ... /> * I added an option to print a Referenced Locations list after ...
    Battle Bunny Battle Bunny August 2010 Announcements
  • Seeking alternatives to DATA statementsAnyone know of any memory saving alternatives to storing a list of numbers, other than using DATA statements or poking data into addresses?... Im ti…

    ... way that allows you to print and recopy it (ie: what ... they opt for BASIC over assembly?!?!?
    kgmcneil kgmcneil August 2010 Sinclair Basic
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... code by trapping the error routine. If you just want to ... all of the routines with assembly code.
    chev chev August 2010 Sinclair Basic
  • BITWISE operators...Hi Folks, Another question - is there a way (fast) to do bitwise operations in Sinclair BASIC? Many thanks Paddy

    ... RANDOMISE USR 64002
    50 PRINT PEEK 64000
    60 STOP ... you want to make the routine easier to call from BASIC ... ,Y) = USR start_address
    20 PRINT FN A(10,20)
    GReW GReW August 2010 Sinclair Basic
  • Z80 RRCA instruction...Hi Folks, Well my exploration of Z80 MCODE continues apace! I am struggling to understand how the RRCA instruction works. The official Zilog manua…

    ... 1/16th of the routine there and are missing ... the last bit of the routine.

    You ... identical code in your assembly listing (or use a ... memory tradeoff - an unrolled routine runs faster at the ... br />
    ; divide routine starts here, with the body ...
    Winston Winston August 2010 Sinclair Basic
<1…26272829303132…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