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.106s
<1234567…34>
  • Idea for a new feature to compliment a debugger in an emulatorI had an idea for an emulator feature yesterday. Don't recall having seen this idea before, but I'm sure you'll correct me if it has. :) In that cas…

    ... adresses being read from, written to and finally where instructions are ... to 63000 - all represented using colors in a window where each pixel ... is equal to one memory address.< ... a counter instead of a byte, to keep track of menory access ...
    Sokurah Sokurah December 2004 Emulators
  • 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…

    ... de) ;copy byte. . .
    ld (hl),a ;. . .to next pixel line down
    byte to be copied, save byte to be copied to
    and ... br /> pop hl ;load byte to be copied to
    dec c ; ... h,a ;point there(byte to be copied to)
    jr nextline< ...
    bigjon bigjon February 2008 Development
  • byte to screen eventI have another question regarding assembly routine in MMCOYZXS by Toni Baker page's 87-88 [QUOTE]21A440 LD HL,40A4 11083F LD DE,3F08 0608 LD B,08…

    ... the character @ 0x3Fxx are written to the screen location 0x4xA4 is ... when stepping through it seems to happen at:
    24 INC ... the character, or the specific byte of the character from the ...
    username username April 2014 Sinclair Miscellaneous
  • 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…

    ... opposed to pixel based system

    ; ********************************************

    #define DEFB .BYTE
    pixel movement, remove this and ... LD L,A ; Get Hi Byte back, so H now is ...
    robpearmain robpearmain August 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... opposed to pixel based system

    ; ********************************************

    #define DEFB .BYTE
    pixel movement, remove this and ... LD L,A ; Get Hi Byte back, so H now is ...
    robpearmain robpearmain August 2004 Development
  • Aggravating problem with screensI've rewritten my Sam C runtime emulator code ( well almost ) to allow me to use my own routines for blitting sprites onto the screen, storing tiles …

    ... code ( well almost ) to allow me to use my own routines ... to a screen on a seperate thread converts the nibble-per-pixel to byte ... -per-pixel so I can see ... by the compiler to default to 'OPEN TO 3' and RAMTOP to
    ...
    DonkeyPong DonkeyPong January 2007 Development
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... across the screen one pixel at the time. I ... rotated byte to screen
    inc hl ;go to next byte to the ... routine for moving up to top of byte again
    ld ... times, for all coloums in byte

    [B ... inc hl ;move one screen byte to the right
    dec ...
    Rickard Rickard May 2007 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... something different for each byte from 0 to 256. There's ... bytes need a further instruction byte to clarify the action required.< ... pairs to deal with 0 to 65355.
    The first (single-byte) ... from 22528 to 23296, which affects an 8x8 pixel block per byte, in ...
    bigjon bigjon November 2009 Development
  • How to specify 1st byte to be ran in a tap fileI am writing m/c to a tap file. When I load it in an emulator I have to go through the usual PRINT USR 30000 I always thought TAPs couldnt specify …

    I am writing m/c to a tap file. When I ... in an emulator I have to go through the usual
    carlinski carlinski October 2010 Development
  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today. I've been commented the disassembly…

    ... ' bit within the byte that is being transferred to the MIC output ... ) holds both the byte that is being outputted to MIC, and the ... ? At first, L holds the byte to transfer.
    Then just before ... /> [code];L is the byte to be outputted to MIC
    SA_BYTE
    mcleod_ideafix mcleod_ideafix January 2011 Development
  • Fastest redraw of screen from UDGsHere's a question for everyone, to generate a bit of code to be used in games: On a standard 48K Spectrum, what's the fastest way to redraw the scre…

    ... 768 byte character map with one byte per character, and have to render ... full of characters to the Spectrum's 6K of pixel RAM.

    Depending how you want to go ... , you can add an attribute byte to each UDG, or handle the ...
    joefish joefish March 2013 Development
  • spectrum pixel experimentsWell, As a spectrum fan, I started recently learning about how to pixel for the speccy, I did pixelart in the past but not speccy style (until now). …

    ... started recently learning about how to pixel for the speccy, I ... />
    Not too much to show, but for now this ... now while I learn to color using speccy attributes.< ... so I didnt know where to put it. Random characters ... done in gimp. More to come if you like it ...
    zx_kel zx_kel November 2013 Development
  • Calculating screen address to alternative ATTR area?I'm using this small snippet of code to convert a screen address to an attribute cell address... [CODE]AttrDE: ld a, d ; get the hig…

    ... snippet of code to convert a screen address to an attribute ... , d ; get the high byte of screen address
    rra ... ; set the high order byte to the start of the attribute ... work. Do I need to do something else...or just ...
    Sokurah Sokurah January 2014 Development
  • Better arrangement for video memory?While doing some documentation work for the ZX-Uno project, I compared the advantages of the weird layout of the ZX Spectrum against a linear layout.…

    ... compute the address of every pixel to be displayed:

    ... ;OUTPUT: HL=address of byte containing pixel
    LD B,A< ... br />
    To the software, the routine to display a character ... arrangement makes the routine to calculate the screen address ...
    mcleod_ideafix mcleod_ideafix September 2014 Development
  • 64x48 monochrome big pixels display ideaHi. I was playing with this idea of having a simple 64x48 bytes buffer, 1 byte per pixel, then a renderer which would take that buffer and render it…

    ... 64x48 bytes buffer, 1 byte per pixel, then a renderer ... then draw it four times to screen, in adjacent lines ... 11110000 and drawn four times to screen.

    ... renders a 8x8 sprite to the buffer, then renders ... the buffer to screen. As you will ...
    na_th_an na_th_an December 2014 Development
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... if =7 then use 2nd byte to get full length -> max ... )=0; // set initial control byte to 0 -> need one literal ... byte to complete full length
    add a,(hl) ; 7t - add to next byte to ... not then in pixel
    ;;
    ;; move de to pixel space
    TomD TomD April 2017 Development
  • Tutorial: Using UDGs in SpecBASSpecBAS is capable of using graphics mode, in a similar manner to the original Spectrum. Like most things though, the extended nature of SPecBAS's ab…

    ... - one bit per pixel, making up one byte per row. Because ... SpecBAS uses one [i]byte[/i] per pixel, we need 8x8 ... the address of the first pixel in the UDG inside ... on the left of the byte) to BIT 0 (on the right ... and not each BYTE, we need to store our address ...
    Dunny Dunny May 2018 Sinclair Basic
  • Printing text, part MMXIIXI'm pretty sure there's been a zillion threads about this already, and I don't think it's the first one by myself either, but here goes. Proportiona…

    ... text drawing. Aligned to 8 pixel in height. I ... :
    ; Rotate pixel through carry to output byte
    rla
    ...
    ; Rotate pixel through carry to output byte
    rla
    ... ; we're full, flush byte to screen
    ld c, # ...
    Sol_HSA Sol_HSA December 2018 Development
  • Textured Scanline Flood Fill for ZX Spectrum 48KPity that it's quite hard to contribute code to WoS in a straightforward manner. Recently, I have created a textured/hatched fill M/C routine for the…

    ... 's quite hard to contribute code to WoS in a ... INT(o/256): REM lower byte
    350 POKE 63693, ... /256: REM higher byte
    360 GO TO 400
    370 ... POKE 63692,196: REM lower byte
    390 POKE 63693, ... 248: REM higher byte

    400 REM ...
    Volker Volker February 2021 Software
  • line routineWondered if anyone can help me out. I have been programming a 3d graphics library for the spectrum, in Machine code. The line routine that I have i…

    ... br /> ;
    ; Draw a pixel line from (x0,y0) defined ... pixel
    ; out: de = address of pixel byte
    ; a = bit number of byte ... where pixel is to ...
    rtunes rtunes October 2001 Sinclair Miscellaneous
  • Speccy machine code info where is it?Recently I've been trying to learn Z80 and I've managed to make limited progress (some of my routines even compile now!) but I seem to be having trou…

    ... thought process makes the connection to pixel coordinates:

    X< ... which bit in the screen byte to plot, as bit position from ... B holds the pixel mask for that screen byte:

    ... l ; move left a screen byte
    ; (decrease CCCCC by ...
    Alcoholics Anonymous Alcoholics Anonymous June 2003 Sinclair Miscellaneous
  • Interrupts details questionSuppose I am writing a game and I want to use interrupts to measure time, draw the screen without flicker, maybe to poll keyboard etc. What kinds of …

    ... I set the interrupt flipflop byte to 0, because this is ... .org 0
    .byte ;I register, points to rom spare locations filled ... hl ; move on to the next 8-pixel group
    call ... label2addr(unscrambleHL) ; return back to normal ...
    Erlstoned Erlstoned August 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... opposed to pixel based system

    ; ********************************************

    #define DEFB .BYTE
    pixel movement, remove this and ... LD L,A ; Get Hi Byte back, so H now is ...
    robpearmain robpearmain August 2004 Development
  • 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 Note, for 48k spectrum using TASM [code] ; ***********…

    ... opposed to pixel based system

    ; ********************************************

    #define DEFB .BYTE< ... LD L,A ; Get Hi Byte back, so H now is ... LD L,A ; Get Hi Byte back, so H now is ...
    robpearmain robpearmain August 2004 Development
  • Smooth Screen ScrollingHi Everyone, Any suggestions on what is the best way to do horizontal scrolling ie. in Zynaps fashion. I am working on a routine at the moment, whi…

    ... which are stored in each pixel position. For example: the background ... line as there needs to be an extra byte to shift the data ... 2 pixel precision. For single pixel precision each line would have to be ...
    dmsmith dmsmith September 2004 Development
  • Idea for a new feature to compliment a debugger in an emulatorI had an idea for an emulator feature yesterday. Don't recall having seen this idea before, but I'm sure you'll correct me if it has. :) In that cas…

    ... adresses being read from, written to and finally where instructions are ... to 63000 - all represented using colors in a window where each pixel ... is equal to one memory address.< ... a counter instead of a byte, to keep track of menory access ...
    mel the bell mel the bell December 2004 Emulators
  • 128k Shadow Screen?When emulating the shadow screen in bank 7 should that bank be switched into address C000? If so, what happens if bank 7 is switched out without canc…

    ... how the devices that connect to them access them - they ... change what you're connecting to.

    [quote]
    ... load a screen attribute byte and a byte of pixel data in only ... being doing a memory fetch to register (presumably). Instructions are in ...
    cyborg cyborg February 2005 Development
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... is that I sometimes store pixel info and attr info in ... different orders, eg the pixel info in column major order ... for a special transparent colour byte during draw. Another is that ... option to allow a single constant mask byte to preceed the attr byte in ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
  • z88dkHello. I'm an spanish user of spectrum (and naturaly of this page). I have a question. I want to start to program games with z88dk, but I need a goo…

    ... only):

    - The 1-byte definition which is graphics only ... (no mask)
    - The 2-byte definition which is made up ... screen, like regular sprites are, to pixel precision. The same API function ...
    Alcoholics Anonymous Alcoholics Anonymous April 2006 Development
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade 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
  • 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

HitBox

Word Docs Hits
byte 7.3K 15.2K
to 549.6K 1.6M
pixel 5.1K 8.3K

Related Threads

  • Fastest way to decide which pixel to paint in order to draw a straight line(after I saw "Bresenhams circle algorithm" in development forum, I decided to ask this in here)<br /> <br /> in fact, I want to accelerate a car towa…
  • Now seems to be a good time to add to your collectionsI have bought a few spectrum items to add to my collection recently, had i bought them a year or two ago they would have cost double. This is one of …
  • How to specify 1st byte to be ran in a tap fileI am writing m/c to a tap file. When I load it in an emulator I have to go through the usual<br /> <br /> PRINT USR 30000<br /> <br /> I always thoug…
  • Update to Image to ZX Spec to 1.3.1I'm inbetween jobs at the moment and felt the need to add a new feature - the ability to export anim gifs.<br /> <br /> [IMG]https://lh6.googleuserco…
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • How to download games to micro sd card to play on Sinclair zx spectrum vegaHello<br /> Could anyone tell me how to download games from a website to a micro sd card to play on a Sinclair zx spectrum vega , I mean do I use a …
  • A game to port to... to make for... ZX Spectrum ?Hey there,<br /> <br /> I'm a game coder on Commodore computers (C64,CPlus/4,VIC20,Amiga) and I loooove the ZX Spectrum.<br /> I grew up with Comm…
  • How to copy file from tape (*.tap) to disks (*.dsk) ?I am using zx32 with win98 and i want (in the emulate +3) copy files from virtual tapes to virtual disks.<br /> <br /> I use =&gt; load "NameOfFile" …
  • how to make a (protected) .DSK to disk transfer ?I know how to make file transfers between .DSK files and physical disks (logical copy).<br /> <br /> However, how can be done a physical sector trans…
  • how to move fdd300's files to pc emulator?Hi!<br /> I have some diskettes 3" for FDD3000 drive for Timex 2048. How can I read these 3"disk and move to PC ? I have some my own demos and rest s…

Related Searches

  • from bedrooms to billions
  • z80 to tape
  • snapshot to tape
  • linux tzx to wav
  • byte scan
  • trd files to image
  • fastest way to clear screen
  • user name and password to download emulator
  • convert src files to
  • rst8 return to basic
  • return to basic
  • unable to log in
  • how to download games
  • how to download games for vega
  • usr0 to 128
  • the adventure game i m trying to complete
  • how to code a 256 byte aligned look up table
  • how to align a 256 byte look up table
  • fastest way to decide which pixel
  • routine to scroll screen buffer by 1 pixel

Copyright © 2024 World of Spectrum