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.022s
<1…45678910…34>
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... a,1 ; lower screen
    call 5633 ; open lower channel
    ld ... in bytes
    call 8252 ; print it

    string defb ... print routine
    LD A,1 ;ROW (OF BOTTOM SECTION OF SCREEN ...
    R-Tape R-Tape June 2011 Development
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... which channel is open, if you're printing in the top screen ... routine you can use full screen PRINT AT and it will set ... to the right screen. After the PRINT AT B,C (which ... the right defined screen

    [code]
    ; PRINT AT Y,X ...
    Dr BEEP Dr BEEP June 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... ; lower screen

    call 5633 ; open lower scrren channel
    ... br />
    call 8252 ; print it

    GameLoop< ... ; adress of start of screen line for paddle
    ... copies attributes = PAPER 6 to screen

    ld hl ...
    ooze48k ooze48k July 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... ; lower screen

    call 5633 ; open lower scrren channel
    ... br />
    call 8252 ; print it

    GameLoop< ... ; adress of start of screen line for paddle
    ... ; copies attributes = PAPER 6 to screen

    ld h ...
    ooze48k ooze48k July 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... %00001111 ; mask half of the screen byte
    or c ; ... result back to screen
    inc d ; next screen location
    ... PRINT #4;CHR$ f;: NEXT f
    [/CODE]
    The channel supports ...
    Einar Saukas Einar Saukas July 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... /> ; -----------------------------------------------------------------------------
    ; CREATE CHANNEL AND ATTACH STREAM
    ; Based ... MSB address of the PRINT # routine at CH_ADDR< ... to screen
    inc d ; next screen location ...
    Einar Saukas Einar Saukas July 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... defw CH_ADDR ; address of the PRINT # routine
    defw 0x15c4 ... # routine
    defb 'P' ; channel type 'P'

    ; ... back to screen
    inc d ; next screen location
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... defw CH_ADDR ; address of the PRINT # routine
    defw 0x15c4 ... # routine
    defb 'P' ; channel type 'P'

    ; ... back to screen
    inc d ; next screen location
    Einar Saukas Einar Saukas August 2011 Development
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    ... defw CH_ADDR ; address of the PRINT # routine
    defw 0x15c4 ... # routine
    defb 'S' ; channel type 'S'

    ; ... back to screen
    inc d ; next screen location
    Einar Saukas Einar Saukas August 2011 Development
  • 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…

    ... 2 ; upper screen
    call CHAN_OPEN ; get the channel sorted
    ;call pm_do_it ; print the message
    ;ret< ... ; get the character to print
    inc hl ; point ... exit
    rst 16 ; print the character
    jr pm_do_it ...
    polomint polomint September 2011 Development
  • probably a stupid question about RST16I'm using the 'hello world' code borrowed from [url=http://equant-retrochallenge.blogspot.com/2008/07/zx-spectrum-assembly-programming-under.html]her…

    Are you setting the print channel to screen?
    Arjun Arjun October 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ... 2 ; upper screen
    call CHAN_OPEN ; get the channel sorted
    ;call pm_do_it ; print the message
    ;ret< ... ; get the character to print
    inc hl ; point ... exit
    rst 16 ; print the character
    jr pm_do_it ...
    polomint polomint October 2011 Development
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... BASIC trickery (using the 'R' channel, which you can't actually ... that it's the 'S' channel it works).

    Anyhoo ... displayed on the screen. It just changes the channel 'S' output routine ... the bytes being output by PRINT or whatever and appends them ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    ... new channel handler (as described in the FAQ) with the fast PRINT ... 't do token expansion or screen scrolling.)

    Y'know ... right place.[/QUOTE]Errors cause channel 'K' to be reset to ... with an automatic listing) causes channel 'S' to be reset to ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • Multi-sized character screen driverFollowing on from the thread on [url=http://www.worldofspectrum.org/forums/showthread.php?t=24618&page=14]character output routines[/url], I've dug o…

    ... code to channel "P". Then PRINT#3 (or LPRINT or PRINT if redirected ... with OPEN#2,"P") goes to the screen ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • 80x24 mode (Timex required)Hopefully Martijn will be adding this to the archive soon, but until then grab it here: [url]https://dl.dropbox.com/u/15659782/BASIC80.zip[/url] Th…

    ... it, and the normal screen area will be untouched. ... a up to 85 column channel and plot/draw/circle ... of them seem to print the text slower in 64 ... of course BASIC80's effective screen size is 480x192. In ... while displaying the hi-res screen.
    [quote]The use ...
    chev chev July 2012 Sinclair Basic
  • 80x24 mode (Timex required)Hopefully Martijn will be adding this to the archive soon, but until then grab it here: [url]https://dl.dropbox.com/u/15659782/BASIC80.zip[/url] Th…

    ... of them seem to print the text slower in ... while displaying the hi-res screen.[/QUOTE]

    ... charset, in 85 column channel uses another charset and is ... something when wrong.
    PRINT PAPER 4 and got green ... but magenta INK.
    PRINT INK 2 and got ...
    Encarnado Encarnado July 2012 Sinclair Basic
  • 80x24 mode (Timex required)Hopefully Martijn will be adding this to the archive soon, but until then grab it here: [url]https://dl.dropbox.com/u/15659782/BASIC80.zip[/url] Th…

    ... basic 64 in 64 column channel uses ROM charset, in ... 85 column channel uses another charset and is ... draw in BASIC64 in all screen, but can't use ... something when wrong.
    PRINT PAPER 4 and got green ... but magenta INK.
    PRINT INK 2 and got cyan ...
    chev chev July 2012 Sinclair Basic
  • Printing a ListingHello my fellow WoS'ers Todays trouble starts with the need to print-out a listing - personally I would prefer a text file, but beggars cannot be c…

    ... +3e
    20 REM Window Channel Demo
    30 PAPER 7 ... 1;"+3e Windows"'"==========="
    60 PRINT #4;CHR$ 30;CHR$ 0 ... you can PRINT to just like the screen."
    70 PRINT #4;CHR ... using CHR$."
    440 PRINT #4'"Block graphics are automatically ...
    Zetr0 Zetr0 August 2012 Development
  • WibbleBibble's Basic threadHi in an attempt to keep my questions from spamming the forum. I think its better to put them all in one place. Thanks everyone so far, I feel I am …

    ... also your notice the last print block is virtually the same ... , then with the screen on ... errmmm ... screen: SAVE "something" SCREEN$. If you're ... the two in the lower screen will be erased by the ... be avoided by temporarily disabling channel K output with a POKE ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • 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…

    ... hl, (prog) ; a channel must be created below basic ... ; and Y positions for the print.
    ret ;
    ... prntq ; and 127 then print a question mark
    ... nz, fchr ; just print a character if it is ... 191 ; mod to access lower screen
    call pixel_add + ...
    chev chev August 2012 Development
  • 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…

    ...
    ;-------------------------------------------------------------------------------
    ;SETUP channel 7 ('T') for priting from ... dontprint ; skip calling the print routine
    notatting
    screen address
    ...
    uglifruit uglifruit August 2012 Development
  • Machine code RST10 problemHello! After 27 years of playing with Spectrums I'm starting to look into doing assembly language properly. All went swimmingly well until I wrote …

    ... on the screen;[/QUOTE]

    Did you set the channel? Before ... using RST 0x10 - if you want to print on ... the main part of the screen - you must ... to print in the lower two lines of the screen (the channel in ...
    Winston Winston November 2012 Development
  • BIN2BAS (load BASIC text into emulator) utilityI've nearly finished testing this. It allows a BASIC program to be loaded from a text file in any emulator which has a "load binary" option. I was wo…

    ... system variables and add extra channel info (which I knew ... /> 26 POKE 54321,255: PRINT #3: RANDOMIZE 12345: READ ...
    29 SAVE "f4" SCREEN$: SPECTRUM: STOP: VERIFY "f1"< ... CHR$ b
    31 PRINT CODE "a"+COS B+ ... a$=INKEY$
    32 PRINT INT a+LEN b$+LN ...
    Battle Bunny Battle Bunny April 2013 Sinclair Basic
  • Strange INK behaviourThis weekend I hooked up two Sinclair ZX Spectrum with Interface 1 to try out the networking capabilities, and I ended up using parts of the Net Game…

    Could it be that screen is not the 'current' channel at that moment? Issuing an empty PRINT command first may put this straight. Like PRINT;:
    roko roko August 2013 Sinclair Basic
  • Strange INK behaviourThis weekend I hooked up two Sinclair ZX Spectrum with Interface 1 to try out the networking capabilities, and I ended up using parts of the Net Game…

    ... screen is not the 'current' channel at that moment? Issuing an empty PRINT ... may put this straight. Like PRINT;:[/QUOTE]
    That's very ... witty. Issuing [b]PRINT #2; INK 1; AT ly ... variables and change destination of channel 2)
    Black Hole Black Hole August 2013 Sinclair Basic
<1…45678910…34>

Latest Posts

  • Frankie's ZX Spectrum Digouts
    Zup on 1:58PM
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on 1:02PM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 12:42AM
  • 1992 Spectrum Software
    harriusherbartio on April 7
  • Celebrity deaths...
    mel the bell on April 7
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 7
  • spectrum in netflix bomb and the cold war documentary
    zxbruno on April 7
  • Are there any decent Speccy Flight Sims?
    harriusherbartio on April 7
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 6
  • Tradtional games that were not programmed on the ZX Spectrum
    harriusherbartio on April 6

HitBox

Word Docs Hits
print 8.5K 20.4K
screen 45.8K 73.8K
channel 5.3K 7.7K

Related Threads

  • Real Spectrum screen flicker with SCREEN$I've written a basic loader to simply do a 'load "" screen$' based video from a divide+ however I'm finding the Spectrum can't render a screens and a…
  • Wow! Splitscreen gaming goes full screen!!! One screen gives two fullscreen views!Sounds a bit Alice in Wonderland (If Lewis Carroll had written it in the twenty-first century) but aparently, using 3D glasses you can get two full s…
  • 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 …
  • ULAPlus: showing different screen modes in one screenI wanted to write a demo showing the same screen, converted to various screen modes available on the Spectrum (well, a Spectrum clone capable of show…
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…
  • Best Side Screen/Screen-Surrounds?I've been researching side-art/screen-surrounds for my own game, so at the risk of asking a question that has probably been asked in the last 20-odd …
  • Type a screen of text from the start screen.I've forgotten all the combo's of symbol-shift and so on, but is there a way, from Spectrum Basic to just type out a load of text? Problem is, as soo…
  • Screen address of PRINT position...Hi Folks,<br /> <br /> The following code uses DF CC system variable to extrac the screen address for a PRINT position.<br /> <br /> <br /> [cod…
  • Print (to screen) avalue held in a register pairHi guys, looking for a routine that will print any value from 0 to 65535 to the current position on the screen.<br /> <br /> I once heard that ther…
  • Mixed bag - Mangled in-game screen and/or loading screen.[url="http://www.worldofspectrum.org/infoseekid.cgi?id=0012757&amp;loadpics=3"]Black Raven[/url]<br /> <br /> Mangled in-game screen and loading sc…

Related Searches

  • fastest screen routine
  • screen routine
  • screen routines
  • fastest way to clear screen
  • print a char in asm
  • issue 2 yellow screen
  • channel print
  • print to screen assembler
  • draws directly on screen print
  • print by directly drawing on the screen
  • print channel 3 area
  • print to screen
  • print 0 channel 2
  • print screen
  • open channel for print
  • print lower screen
  • print input screen
  • print lower screen with machine code
  • print at channel 23
  • print on buffer screen

Copyright © 2024 World of Spectrum