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.010s
<1…6789101112…34>
  • 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…

    ... /> call CHAN_OPEN ; get the channel sorted
    pop hl ; ... back
    ;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…

    ... /> call CHAN_OPEN ; get the channel sorted
    pop hl ; ... back
    ;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
  • 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…

    ... . The only inconvenience is that channel #4 does not automatically disable ... it cannot detect that the PRINT statement has finished. Thus you ... , for instance:
    [CODE]
    PRINT #4; INVERSE 1;AT 10 ... /> FOR f=32 to 127: PRINT #4; CHR$ (f+128);: NEXT ...
    Einar Saukas Einar Saukas November 2011 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... grips with the ROM's PRINT routine, just cant work out ... in the bottom 2 lines (channel #1) or can you not ...
    daveysludge daveysludge January 2012 Development
  • PLOT and DRAW in machine codeHow do you go about it? If I posted a really simple BASIC instruction could someone do a machine code routine so I could learn from it? I wouldnt k…

    ... grips with the ROM's PRINT routine, just cant work out ... in the bottom 2 lines (channel #1) or can you not ...
    Dr BEEP Dr BEEP January 2012 Development
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... a short routine which will print out 256 UDGs, presuming that ... -21 when it comes to print them. The above example avoids ... />
    For practical use the channel 'S' output address in CHANS ...
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • Increasing the number of UDGs...Hi Folks, I know by default the Spectrum can have 21 UDGs (48K) and 19 (128K) and that the address of the bit patterns is pointed to by the UDG syst…

    ... ' address, as PRINT_OUT resets the channel 'S' output address after printing ... =CHANS+5 : REM Address of channel 'S' output address
    LET ... ,FN h(UDG256)
    11 PRINT "a\000 STOP \255z":
    Battle Bunny Battle Bunny March 2012 Sinclair Basic
  • +3 DOS questionHey all, Is it possible to catalogue a +3 disk to a variable somehow from BASIC? I'm looking at extending my Snapshot to Microdrive utility, so it s…

    ... a:
    PRINT s$
    [/code]
    It uses channel 'R' (or ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • 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…

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

    channel output will be sent ... screen. It just changes the channel 'S' output routine address ... bytes being output by PRINT or whatever and appends ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • Microhobby's Pixel A Pixel compoI've recently found out that there's been a graphics competition Pixel A Pixel held by Microhobby magazine, thx to Ivanzx for pointing this out in on…

    ... misalignment which occured during the print process.
    If this misalignment ... adjust the levels of each channel in Photoshop until the "black ...
    moroz1999 moroz1999 May 2012 Sinclair Miscellaneous
  • Question about 2-channel beeper musicI confess I haven't tried all the available beeper utilities and software. I always found music software confusing and trackers are not for me. I kno…

    ... and want to play two-channel music without having to leave ... know, I know...) for each channel. From all the currently available ... use to play my two-channel tune and at the same ... like for example key detection, print something, etc.[/QUOTE]

    tstih tstih May 2012 Development
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ;628597]Might use it in PRINT if a string slicing is ... between the STR$ and the PRINT. Bit not very interesting on ... $ doesn't use the "R" channel.
    chev chev 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 …

    ... ]Be cool to have a *PRINT command that one could add ... new channel handler (as described in the FAQ) with the fast PRINT ... stream up to it. Then PRINT #n;"some text" to use ...
    chev chev June 2012 Development
  • 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 …

    ... Be cool to have a *PRINT command that one could add ... .[/QUOTE]

    The standard channel S output address at 23739 ... things up, then using PRINT #stream (variable), or PRINT #5 (literal), is ... /> --

    I compared PRINT 1 and PRINT #2;1 in BASin ...
    Battle Bunny Battle Bunny June 2012 Development
  • 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 …

    ... channel handler (as described in the FAQ) with the fast PRINT ... routine that attaches to a channel, 'P' in the ... point to the standard channel such that you'd ... right place.[/QUOTE]Errors cause channel 'K' to be ... an automatic listing) causes channel 'S' to be reset ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • question re. STR$ bugCould someone point me to whereabouts in the ROM this goes wrong? [code]PRINT PAPER 5;1;STR$ 234[/code] (Only the "1" prints in cyan.) It's not the m…

    ... ;633114]READ_IN opens the specified channel ("K" in the case of ... with the JGHROM
    10 PRINT INKEY$#0;:GOTO 10
    channel 'K'
    1638 FD CB ... to get INPUT working from channel "S" ;)
    Jonathan Harston Jonathan Harston June 2012 Sinclair Basic
  • 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 ...
    Jonathan Harston Jonathan Harston June 2012 Development
  • ESXDOS v0.8.0 released (with NMI Browser)Hello, To celebrate the speccy's 30th birthday, here's the latest version of ESXDOS for DivIDE users. The full changelog is too long to post here, s…

    ... had considered creating a PLAY channel instead, but because up ... "What do you want to print today?", 13
    defb ... BIN/ directory with filename PRINT. then boot esxdos and you ... could use .print command for example: .print "Hello world"
    ub880d ub880d July 2012 Announcements
  • 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…

    ... a up to 85 column channel and plot/draw/circle for ... . Both of them seem to print the text slower in 64 ...
    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 64 ... basic 64 in 64 column channel uses ROM 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 cyan ...
    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 ... made something when wrong.
    PRINT PAPER 4 and got green ... PAPER but magenta INK.
    PRINT INK 2 and got cyan ...
    chev chev July 2012 Sinclair Basic
  • Switching 48/128 modes within a BASIC programI'm not sure what use this would be; ie. being able to switch between 48k and 128k modes and back again from within a continuously running BASIC prog…

    ... LET mode=48+bit4*80: PRINT AT 0,0;CHR$ 163 ... REM Error Return
    9000 PRINT "Report code ";FN m(PEEK ... /> add hl,de ;HL=channel info for "S"
    ... bc,$0004
    ldir ;replace channel info "P" with "S"< ...
    Battle Bunny Battle Bunny 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 ... and fuly justified."
    80 PRINT #4;CHR$ 0;"Of course ... output 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 ... 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…

    ... ld hl, (prog) ; a channel must be created below basic ... br /> ld (hl), 'S' ; channel type; 'K', 'S', 'R' ... ; and Y positions for the print.
    ret ;
    < ... prntq ; and 127 then print a question mark
    ... jr nz, fchr ; just print a character if it is ...
    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 ... dontprint ; skip calling the print routine
    notatting< ... dontprint ; skip calling the print routine
    notatchr< ...
    uglifruit uglifruit August 2012 Development
  • PRINT a numerical value i.e. the scoreHow do you fo about printing a numerical value using the print routine in the ROM? For instance I have a value 0-255 and want to PRINT the result at…

    ... a,0 ; bottom to lines channel
    call 5633
    ld ... a,0 ; bottom to lines channel
    call 5633

    print 2 zero characters after number ...
    ub880d ub880d 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 …

    ... the channel? Before using RST 0x10 - if you want to print on ... to print in the lower two lines of the screen (the channel ...
    Winston Winston November 2012 Development
<1…6789101112…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • 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
  • 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
channel 5.3K 7.7K
print 8.5K 20.4K

Related Threads

  • 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 …
  • 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
  • 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…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • Star Tip 2 - Tim Follin's 3 Channel Sound - info reqd.Hello there,<br /> <br /> I've decided to throw myself in at the deep end and decipher Tim Follin's "Star Tip 2", which produced some incredible 3 ch…
  • Anyone see that top comedians programme on Channel 4?Only caught the top 30 or so, but what a complete load of old toss.<br /> <br /> I was eagerly awaiting the top ten, thinking there'd be something de…
  • Stalking Pete Doherty on Channel 4Just finished watching "Stalking Pete Doherty" on channel 4. Is that dude Max Carlish a mentalist or what?<br /> <br /> The bit at the end where he s…
  • print at line 22 and 23I have a faint recollection of POKES to allow print at 22,x and 23,x, anyone know what they are? (rather than using the print #0 #1 stuff..)
  • PRINT AT in assemblerHello everyone,<br /> <br /> I am very new to this forums. Like perhaps many others I had a Spectrum as a child and did pretty much simple BASIC prog…
  • Sandman (Channel 4)On the subject of "does anyone remember this". Does anyone remember seeing a stop-frame animation (like Nighmare before christmas models) film about …

Related Searches

  • print a char in asm
  • print variables
  • print on border
  • print leading zeroes
  • print at 23
  • print through
  • asm text print
  • assembly print text
  • assembly print text at pixel
  • channel printing
  • channel 42 printing
  • workspace channel
  • print one line
  • rst 16 print routine
  • print usr
  • print channel 3 area
  • print 0 channel 2
  • print screen channel
  • open channel for print
  • print at channel 23

Copyright © 2024 World of Spectrum