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.076s
<1…78910111213…34>
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... /> How do you print an UDG with RST 16?
    [CODE]
    LD A, 2 ; Select upper screen
    CALL ... RST 16 ; Call the print routine[/CODE]

    If ... d particularly recommend Spectrum Machine Language For The Absolute ...
    Matt_B Matt_B May 2009 Development
  • Getting started with asm Speccy codingSomeone on another forum I read has asked for good Speccy coding resources. I thought it would be great to link him to a simple tutorial about how to…

    ... I never printed some on screen in MC
    I ... BASIC you can start your code with PRINT USR.

    ... XOR A
    CALL #1601 = lower screen

    LD A,2 ... will ALWAYS set upper screen!

    [code]
    ; -----------------
    ; THE ...
    Dr BEEP Dr BEEP May 2009 Development
  • z80 program to BASIN?I have a BASIC program with UDG:s loaded in a z80 snapshot file. I would like to edit the program with Basin, but I wonder what must be done before…

    ... can start a machine code program with RANDOMIZE USR memory- ... returns a result. Your machine code program can talk to ... a keyword. So you PRINT USR or GOTO USR ... the PRINT will obliterate a portion of the screen on ... . The ROM manages the machine stack, which "grows" ...
    Dunny Dunny September 2009 Sinclair Basic
  • 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…

    ... IMHO) a level where Machine Code is becoming an art and ... a screen that will be printed to a file with ... a working version
    and I will print the screen ... to a file with the new version ... too many so the screen is missing 1 line ...
    Dr BEEP Dr BEEP October 2009 Development
  • More colours II (Was: Most popular new features?)The suggested 4xCLUT multi-colour solution never took off.

    ... ula. A 256x192 mode with a choice of four colours ... doesn't take up more screen memory. Both of these methods ... 6.75K to 12K of screen data. Not impossible as ... still be drawn from the lower 16K RAM bank. The ... the extra mode exclusively from machine code...
    joefish joefish November 2009 Emulators
  • POKING graphicsI remember using binary code (in BASIC) to POKE graphics (thanks Input magazine!) Using a FOR..NEXT loop you would POKE each square in the 8X8 charac…

    ... of transferring them to the screen.

    The limitation of ... PRINTable characters - but machine-code games ignore the PRINT mechanism entirely and do ... also do the same trick with the 'CHARS' system variable, which ...
    gasman gasman November 2009 Games
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... op-codes) and Introducing Spectrum Machine Code by Iain Sinclair (has an ... ,13 ;
    rst 10h ;print Return
    pop af ;get ... the program it comes up with gibberish after this point. ... /> Finally, when 'opening up' the screen ready for printing, is there ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ...
    ld (5C3Ch),a ;open screen for printing
    ;
    [COLOR ... a,13 ;
    rst 10h ;print Return
    pop af ;get ... loop, and pre-load it with the (already) zeroed [B]A ... this, to work in 'real machine code' is wonderful :)

    My ...
    Chris Pile Chris Pile January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ...
    ld (5C3Ch),a ;open screen for printing
    ;
    ... ,13 ;
    rst 10h ;print Return
    pop af ;get ... I suppose at the moment machine code seems to be just so ... become habitual, especially when dealing with low level skuzzy assembler : ...
    xyzzy xyzzy January 2010 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... the ROM to do any screen printing stuff - so the [B ... check this as

    PRINT USR 6683 outputs 668365526
    machine code as BC holds the argument ... ROM is written like this with some quite complicated structures following ...
    Geoff Geoff January 2010 Development
  • ZX81 more powerful than the Speccy?I have been reading ?The ZX Spectrum Book 1982 - 199x? by Andrew Rollings (thanks again, Andrew - it?s a great read!). There are some comments in the…

    ... (in the same way, machine code was called a low level ... [QUOTE]
    Consoles have slightly lower level APIs than PC because ... - but.. developers no longer fiddle with hardware registers - the hardware is ... allowed to know how the screen was laid out in ...
    ewgf ewgf January 2010 Games
  • 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 …

    Now with saving temporary colours

    [code]
    ; PRINT AT Y,X full screen
    ; Y = B-reg, X = C-reg
    ; 0
    Dr BEEP Dr BEEP April 2010 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 …

    ... totally self-contained with a few lines of code?

    ... DOES come time to print to the screen via RST 16 then ... this Thread was about using Machine Code equivalents for BASIC commands, but ... the screen and worry about the colours later then dealing with ...
    Turkwel Turkwel April 2010 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 …

    ... DOES come time to print to the screen via RST 16 then ... you can alter them easily with RST 16 and the graphical ... this Thread was about using Machine Code equivalents for BASIC commands, but ... the screen and worry about the colours later then dealing with Channels ...
    Dr BEEP Dr BEEP April 2010 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. …

    ... ROM disassembly I came up with the following formula to ... a character position on screen.

    [CODE]LET sa=16384+32 ... CC system variable:

    [CODE]PRINT AT y,x;
    LET ... be simpler to implement in machine code (I think).

    ...
    Paddy Coleman Paddy Coleman August 2010 Sinclair Basic
  • 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. …

    ... ROM disassembly I came up with the following formula to ... a character position on screen.

    [CODE]LET sa=16384+32 ... CC system variable:

    [CODE]PRINT AT y,x;
    LET ... be simpler to implement in machine code (I think).

    ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • 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. …

    ... was thinking about Z80 machine code etc. One learning exercise ... was to write a machine code double height character printing ... you have a top/bottom PRINT statement. This allows the ... full use of the PRINT features e.g. colours ... count=0
    140 PRINT AT 0,0;a< ...
    Dr BEEP Dr BEEP August 2010 Sinclair Basic
  • Another machine code problem, sorry[CODE] OPCODE HEX ADD LD A,00 3E00 F000 PUSH AF F5 F002 LD B,05 0605 F003 LD C,06 0E06 LOOP F005 POP AF F1 ADD A,C 80 DEC B 05 …

    ... it to wrap around the screen. So if the user goes ... on the other side. The machine code IS correct since i passed ... side of the screen). I first just used PRINT USR 61440 and ... /> So then i replaced them with Randomnise usr x (where x ...
    Robin Robin September 2010 Sinclair Basic
  • Print text in assemblyHello, 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? I seem to re…

    ... memory with some string, e.g. "Hello world of spectrum" and print ... /> [/code]

    Remember that calling MC can use upper or lower screen ... adres= lower screen
    PRINT "" AND USR adres = upper screen and undoing print of BC ...
    Dr BEEP Dr BEEP October 2010 Development
  • Print text in assemblyHello, 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? I seem to re…

    ... adres= lower screen
    PRINT "" AND USR adres = upper screen and undoing print of BC ... 2
    CALL 1601
    [/CODE]

    I picked that ... the main screen?

    [QUOTE=gasman;485248]
    PRINT AT ( ... inserting control codes (bytes with value
    Rickard Rickard October 2010 Development
  • emulatorsplease help can we see clearly which emulator emaulates which hardware is there any that has a pc function key for the mulitface nmi button and the +…

    ... more with each other to reduce the workload - use similar code instead ... lcd screens dont actually support lower screen rez - cant the optimum ... vga adapter int he same machine? how does the emulator ... by keeping the screen at a higher rez with four pixels ...
    Roger Jowett Roger Jowett October 2010 Emulators
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... code to print numbers and text to the screen:

    [code ... br /> [/code]

    To conclude, an emulator with a built ... nothing to do with the Z80 ... - no more machine code will be processed ...
    ASM ASM November 2010 Development
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... INPUT statement - essentially, you start with LET a$="", then have an ... of a$ (and print it to the screen) and repeat the loop ... along with other nice benefits like putting it at any screen position ... job (converting your program to machine code to give it a good ...
    gasman gasman January 2011 Sinclair Basic
  • Spanner seeks helpHello, and HNY, all. I am presently writing a game in BASIC. It's a bit - a lot - crap, but I'm enjoying it! Anyway, a couple of questions, if you …

    ... INPUT statement - essentially, you start with LET a$="", then have an ... of a$ (and print it to the screen) and repeat the loop ... along with other nice benefits like putting it at any screen position ... job (converting your program to machine code to give it a good ...
    Paddy Coleman Paddy Coleman January 2011 Sinclair Basic
  • Where's it all going?[Rerouted from 'Assembler Intricacies' in Development Forum] [QUOTE=Timmy;506104]I don't think we're in disagreement here. As I've said it's a niche…

    ... have an equal, if not lower, boredom threshold. Yet the majority ... said, but of course raw machine code is going to win out ... sprites you can have on screen at any one time? If ... sprites on screen compared to their predecessors.

    [QUOTE]With time ...
    Turkwel Turkwel January 2011 Sinclair Miscellaneous
  • Calculating the address of a pixel?Hi Folks, Is there an easy/quick way of calculating the memory address of a pixel? So for example, if I wanted to "plot" pixel at screen coordinate…

    ... educational market on its screen configuration. Personally I would ... Coleman;511581]If the code in Football Manager is ... Spectrum editor, Sinclair printer, PRINT and PAUSE 0 oh and ... You can't make much with basic no matter what ... and start learning machine code.
    TVzombie TVzombie February 2011 Sinclair Basic
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... speed. It loads itself onto screen buffer, and loads other parts ... -way between interpreted BASIC and machine code. That's why it takes ... (a/2) = a/2 THEN PRINT "EVEN": NEXT a
    30 ... />
    Because the key is "code with the compiler in mind", because ...
    na_th_an na_th_an February 2011 Development
  • writing an emulator-newbie needs helpHi, this is my first post here. I decided to write a minimalistic emulator of ZX Spectrum-no emulation of advanced peripherals, no emulation of sound…

    ... one. Assume I work with a particular file containing the ... should operate on assembly or machine code, right? Should I disassemble ... (keyboard/joystick) and output (screen)? Which asm instructions and memory ... . Like this:
    10 PRINT "Hello World"
    20 ...
    Arjun Arjun May 2011 Emulators
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... 's a patch to print into the lower screen, plus some evidence. It ... into the lower screen or if printed directly to the lower screen (eg. ... LPRINT AT 0,183;"something").

    [code]
    with a JP to PIXAD+2 ...
    Dr BEEP Dr BEEP May 2011 Sinclair Basic
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... [/url] with na_th_an's demo updated to include the machine code wrapping routine ... and the lower screen patch. There's ...
    Battle Bunny Battle Bunny May 2011 Sinclair Basic
<1…78910111213…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
lower 6.4K 7.8K
screen 45.8K 73.8K
with 272.1K 442.3K
machine 27.2K 35.6K
code 41.6K 91.2K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • 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<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • How do I clear only a specific area of a screen (quickly) in machine code ?I'm looking for a machine code routine which will<br /> clear the first 20 rows of the Spectrum's display<br /> (or any number of rows or columns) . …
  • help sought with first foray into machine code - pixel scrolldownI have started to code my first machine code program, a simple roadrace game. I've based it around the pixel scrolldown routine in 40 Best Machine Co…
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it.<br /> <br /> At the moment I'm grabbing the start address for each letter then printing them ou…
  • 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…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Ultimate games with short machine code files loaded lastThis is a bit geeky, you've been warned! I remember early Ultimate games loaded from tape had the ascending beeping noise, a "Please wait" message, …
  • Can I record binaries from any emulator with Basic commands, machine code, macros or something?Hello<br /> <br /> I do not know if this is the right place to put this question<br /> <br /> Normally with ZXSpin if I want to save a binary fil…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • load code hide name on screen
  • machine code routines
  • ultimate games 3 machine code
  • learning machine code
  • spectrum machine code
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • beeper from machine code
  • machine code in loading screen
  • print number machine code
  • load tape with machine code
  • edit basic with machine code
  • machine code print input
  • print lower screen

Copyright © 2024 World of Spectrum