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.011s
<1…14151617181920…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 …

    ... in bytes
    call 8252 ; print it

    string defb ... is set ink, the following byte is the ink colour
    ;17 is paper, the following byte is paper colour

    print routine
    LD A,1 ...
    R-Tape R-Tape June 2011 Development
  • Why doesn't my routine work?I have a "level" defined by 504 bytes (28 squares across x 18 squares down) I'm trying to write a routine that will take an X,Y coordinate in pixels…

    ... ]

    #38 or 56 decimal will PUSH AF end PUSH ... increments the Spectrum's three-byte FRAMES counter fifty
    ; times ... ) ; otherwise increment FRAMES3 the third byte.

    [/code]
    Dr BEEP Dr BEEP June 2011 Development
  • Fuse: what do you want to see?An open brainstorm. If you had a team of programmers working on [url=http://fuse-emulator.sf.net/]Fuse[/url], what would you tell them to work on? …

    ... registers, with ASCII and hex/decimal byte/word views.
    [/LIST]
    kphair kphair July 2011 Emulators
  • 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…

    ... directly. For one thing, single-byte values are easier to work ... its X coordinate in a byte variable or even a register ... bytes

    call 8252 ; print it

    GameLoop
    ooze48k ooze48k July 2011 Development
  • Can anyone see a way to speed up the following line of code?Hi Folks, Been looking at bottle necks in my code using BASin's Profiler and the following line (well the 2nd LET statement) is somewhat slow. [COD…

    ... $(1,1)=CHR$ 65 THEN PRINT "Hello"
    130 IF ... a$(1,1)="A" THEN PRINT "Hello"[/CODE]

    ... converts from a possible 5-byte float to a one- ... -compare is done, with one byte strings.
    2. CODE ... simple string compare of 1 byte each.
    3. Reads ...
    Dunny Dunny July 2011 Sinclair Basic
  • 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…

    ... CH_ADDH ; MSB address of the PRINT # routine at CH_ADDR
    ...
    xor a ; first font byte is always blank
    ld ... ld a, (de) ; get screen byte
    SCR_MASK:
    and %00001111 ...
    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…

    ... CH_ADDH ; MSB address of the PRINT # routine at CH_ADDR
    ...
    xor a ; first font byte is always blank
    ld ... ld a, (de) ; get screen byte
    SCR_MASK:
    and %00001111 ...
    Einar Saukas Einar Saukas July 2011 Development
  • Need help transferring a file to a Spectrum .dsk fileHello, I was wondering if anyone can help me transfer a file that I have into a spectrum *.dsk file? The background to this request is that I have r…

    ...
    hp = header block parity byte
    dd = data flag = ... block & data block parity byte follow (not shown)

    PRINT USR 30000 and note value for header block parity byte.
    byte but excluding parity byte.
    In hex ...
    Battle Bunny Battle Bunny August 2011 Emulators
  • Need help transferring a file to a Spectrum .dsk fileHello, I was wondering if anyone can help me transfer a file that I have into a spectrum *.dsk file? The background to this request is that I have r…

    ...
    hp = header block parity byte
    dd = data flag = ... block & data block parity byte follow (not shown)

    PRINT USR 30000 and note value for header block parity byte.
    byte but excluding parity byte.
    In hex ...
    gasman gasman August 2011 Emulators
  • 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 ... xor a ; first font byte is always blank
    ld ... a, (de) ; get screen byte
    SCR_MASK:
    and ...
    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 ... xor a ; first font byte is always blank
    ld ... a, (de) ; get screen byte
    SCR_MASK:
    and ...
    Einar Saukas Einar Saukas August 2011 Development
  • Disc rotThis is happening to me more commonly,despite taking care of cd's/dvd's they decide not to play all sudden,i don't bother using the data recovery sof…

    ... . Not necessarily for every single byte I have but the more ... /> Har har ... erm ... yes ... better print out on paper all of ... pictures or videos, so just print out the frames as still ...
    ZnorXman ZnorXman August 2011 Chit chat
  • 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 ... xor a ; first font byte is always blank
    ld ... a, (de) ; get screen byte
    SCR_MASK:
    and ...
    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…

    ... need to change a single byte with either [B]NOP[/B ... ; mask half of the font byte
    [/CODE]

    ... /> PRINT #4; INVERSE 1;: PRINT #4;"a";

    PRINT #4;: INVERSE 1: PRINT ... However, both lines call the print routine exactly 3 times with ...
    Einar Saukas Einar Saukas August 2011 Development
  • Kobrahsoft DB1 - doesn't work?Hi, I've tried loading [URL="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DB1$&pub=^Kobrahsoft$&loadpics=3"]DB1 by Kobrahsoft[/URL] into two …

    ... and it has a 128 byte header plus three BASIC lines ... holding machine code and a PRINT USR 0 followed by what ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • Unlisted game - The Battle of MaidaI've just moved back the the UK and unearthed a game called "The Battle of Maida". I really loved this game back in the 80s and I believe a friend of…

    ... "development" copy? Line 870 (from byte offset 0x1542 onwards) reads like ... , that the 5-byte binary version following the decimal (visible) one
    byte is ok, though (0x00)
    lfaria lfaria September 2011 MIA/STP/SDP
  • Unlisted game - The Battle of MaidaI've just moved back the the UK and unearthed a game called "The Battle of Maida". I really loved this game back in the 80s and I believe a friend of…

    ... "development" copy? Line 870 (from byte offset 0x1542 onwards) reads like ... , that the 5-byte binary version following the decimal (visible) one
    byte is ok, though (0x00)
    takapa takapa September 2011 MIA/STP/SDP
  • 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…

    ... can be removed from your print message routine:
    [code]
    call pm_do_it ; print the message
    ret
    byte and is faster. But seeing ...
    BloodBaz BloodBaz September 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…

    ... can be removed from your print message routine:
    [code]
    call pm_do_it ; print the message
    ret
    print routine, forgot to remove those ... the accumulator but saves one byte and is faster. But seeing ...
    polomint polomint September 2011 Development
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... file sizes include a 9-byte header.
    [code]
    10 ... FOR a=1 TO n: PRINT f$(a): FOR b=1 ... TO 3: PRINT f(a,b);" ";: NEXT b ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • File size in 128K RAM diskHi Folks, Is there a way to get the size of a file stored in the 128K RAM disk from within a BASIC program? Many thanks Paddy

    ... file sizes include a 9-byte header.
    [code]
    10 ... FOR a=1 TO n: PRINT f$(a): FOR b=1 ... TO 3: PRINT f(a,b);" ";: NEXT b ... : PRINT : NEXT a
    [/code][/QUOTE]< ...
    Paddy Coleman Paddy Coleman September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... ))+FN n(h$(2)): REM Byte hex conversion
    1000 DATA ... =FN x(a$)
    2023 PRINT "usr",usr
    2025 INPUT ... j
    2030 PRINT "FN b$(j)",FN b ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • checking bits in BASICThe question of manipulating bit patterns in BASIC was raised recently in this [thread=35728]Keys redefine routine and key check[/thread] thread. I s…

    ... string which expanded by one byte for every two bytes entered ... slow) to handle two non-decimal bases. At present it handles ... one of the bases is decimal (slightly magically, I thought, as ... the erroneous results for non-decimal conversions, but I was too ...
    Battle Bunny Battle Bunny September 2011 Sinclair Basic
  • INSTR function...Hi Folks, Another little program that people might find useful: [CODE]100 DIM i(4) 110 LET a$="This is some sample text" 120 LET b$="text" 130 GO S…

    ... ))+FN n(h$(2)): REM Byte hex conversion
    1000 DATA ... is some text"
    2005 PRINT s$'''"looking for 'is'"
    PRINT AT 1,p;"^": LET p ...
    mattsteel mattsteel September 2011 Sinclair Basic
  • Where to start?..Hello, First off, sorry if this is in the wrong and sorry if the questions I'm about to ask have been asked and answered numerous time! Little back…

    ... UGD characters (letter size) and print them just like letters. If ... want something bigger you can print them close to each other ... works slowly and you can print them only at certain pixel ... simple operations like copy one byte from one place to another ...
    Ralf Ralf September 2011 Development
  • Where to start?..Hello, First off, sorry if this is in the wrong and sorry if the questions I'm about to ask have been asked and answered numerous time! Little back…

    ... UGD characters (letter size) and print them just like letters. If ... want something bigger you can print them close to each other ... works slowly and you can print them only at certain pixel ... simple operations like copy one byte from one place to another ...
    meow meow September 2011 Development
<1…14151617181920…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • European Software Titles with an English version
    harriusherbartio 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
print 8.5K 20.4K
byte 7.3K 15.2K
decimal 853 1.3K

Related Threads

  • Byte Bitten - Sea Hawk KeysCould someone please tell me what keys are needed to control your helicopter in the Sea Hawk part of this game. No key seems to have any effect apart…
  • 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
  • STP: Computer Cookery 1 & 2 - Bug ByteI'm 99% sure these two titles are actually The Computer Cook Book (Bug Byte) that is listed in Infoseek.<br /> <br /> However, The Computer Cook Book…
  • help in byte mirroring.I need some help.<br /> What is the best way to mirror the byte?<br /> (for ex. 10010011 -&gt; 11001001)<br /> I mean, if there is a simple way to do…
  • Bug-Byte games wantedHi, Does anyone out there have the following games which they'd be willing to sell / trade? The games have to have specific coloured writing on the i…
  • 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…
  • 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…

Related Searches

  • byte scan
  • print a char in asm
  • ebug byte
  • bug byte
  • parity byte block
  • print variables
  • byte back
  • decimal
  • decimal places
  • print on border
  • print leading zeroes
  • print at 23
  • print through
  • asm text print
  • assembly print text
  • assembly print text at pixel
  • rotate decimal
  • convert decimal to binary
  • software projects bug byte manic miner differents
  • fast decimal print asm

Copyright © 2024 World of Spectrum