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.015s
<1234567…34>
  • tricks to simplify codingWhen i started with programming in assembler i had very simple approach to do things. Just shifting bytes around, doing simple tests and so... Later …

    ...
    LD H,B ; B = constant, start of table highbyte
    LD H,(HL) ; Fetch ... ]
    The jump table is 1K in size, 256 bytes for highbyte ... , 768 bytes for 256 JP NN instructions starting with ...
    Dr BEEP Dr BEEP March 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... ;
    ; ld a,"X"
    ; ld bc,99*256+10 [Y Value ... Display Characters]
    ; ld h,0
    ; ld l,a
    ; ... /> ;
    ; ld bc,99*256+10
    ; ld hl,xxxx
    ld a,b
    cp ... use a look-up table to set the Screen ...
    Turkwel Turkwel June 2010 Development
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... addresses from 61*256 up to (64*256)-1, contain ... from address (60*256) instead of from (61*256).

    table is at 88-90, ... address of the bitmaps)
    ld h, a

    ... bitmap in ROM crosses a 256-byte boundary.
    < ...
    ajmoss ajmoss June 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. …

    ... />
    [code];H=Y,L=X
    LD A,H
    AND 7 ... A,L
    LD L,A
    LD A,H
    RRA
    OR #58
    LD H,A
    ;HL=address[/code ... speed, you have to use 256-byte aligned table.
    Shiru Shiru August 2010 Sinclair Basic
  • 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…

    ... />
    SCRWTH equ 256 ; Screen width in pixels
    ld h,0
    add hl,de ; HL points into sprite frame table ... defw 16384+(32*0)+(256*1)
    defw 16384 ... +(32*0)+(256*2)
    defw 16384 ... +(32*0)+(256*3)
    defw 16384 ...
    ASM ASM October 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 …

    ... ;
    ;sound id points to table of sounds where are stored ... boundary of 256
    ld (beep_ptr), hl

    ld hl, ...



    .ALIGN 256

    beep_buf
    .WORD ... ld r, a

    ld l, e
    ld h, d
    ld ...
    Fikee Fikee November 2010 Development
  • 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…

    ... />
    SCRWTH equ 256 ; Screen width in pixels
    ld h,0
    add hl,de ; HL points into sprite frame table ... defw 16384+(32*0)+(256*1)
    defw 16384 ... +(32*0)+(256*2)
    defw 16384 ... +(32*0)+(256*3)
    defw 16384 ...
    sekrets sekrets November 2010 Development
  • 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…

    ... />
    SCRWTH equ 256 ; Screen width in pixels
    ld h,0
    add hl,de ; HL points into sprite frame table ... defw 16384+(32*0)+(256*1)
    defw 16384 ... +(32*0)+(256*2)
    defw 16384 ... +(32*0)+(256*3)
    defw 16384 ...
    ASM ASM November 2010 Development
  • 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…

    ... LPRINT routine in the CHANS table to point to
    ;the ... /> CRADR: DEFW font-352 ; was 256
    WIDTH: DEFB 0
    LD H,A
    LD L,E
    LD A,(ATTRP)
    LD (HL ...
    chev chev May 2011 Sinclair Basic
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... write MSB to from a table....
    ;
    ... :
    LD HL, SomeAddress
    LD A,H
    LD (SetSomeAddressMSB + ... 1), A
    RET
    ....
    ; LD A, SomeAddress / 256 ...
    csmith csmith June 2011 Development
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... such as dividing it by 256. This is always done ... dynamic indexing into a table at fixed address. It ...
    [code]
    ; enter: a = table index, tbl = int[]

    256
    ld l,a
    ld a,0< ... br /> adc a,tbl/256
    ld h,a
    [/code]
    Alcoholics Anonymous Alcoholics Anonymous June 2011 Development
  • binutils questionSince there's a few people using binutils these days I thought I'd give it a go and see whether it solves my hunt for a replacement assembler/librari…

    ... dynamic indexing into a table at fixed address. ... /> [code]
    ; enter: a = table index, tbl = int[]

    256
    ld l,a
    ld a,0 ... /> adc a,tbl/256
    ld h,a
    [/code ... in the generated assembler: "ld hl,(struct_base_address + offset)". ...
    csmith csmith June 2011 Development
  • New game: WUNDERCHAR$Hi All, Finally finished my latest game: Wunderchar$. [IMG]http://i1142.photobucket.com/albums/n608/daveyboyhughes/loadingscr.gif[/IMG][IMG]http://…

    ... LD L, value1 / LD H, value2 / LD (addr), HL - i would use LD ... HL, value1 + value2*256 ... managed to work with jump table, if i understand your ... a
    ld l, a
    ld h, 0
    ld de, level_tab< ...
    Fikee Fikee August 2011 Brand new software
  • New game: WUNDERCHAR$Hi All, Finally finished my latest game: Wunderchar$. [IMG]http://i1142.photobucket.com/albums/n608/daveyboyhughes/loadingscr.gif[/IMG][IMG]http://…

    ... / LD H, value2 / LD (addr), HL - i would use LD HL, value1 + value2*256 instead ... managed to work with jump table, if i understand your code ... screen from my screen address table (not using a screentab was ... was either using the index table or the stack pointer. I ...
    R-Tape R-Tape August 2011 Brand new software
  • 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…

    ... /> LD A, SKIP_RLC-END_LOOP+256

    LD A, INIT_RLC-END_LOOP+256
    ; offset in streams table
    ret

    ... 32)/2) - 1

    ld h, b ; now HL = char
    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…

    ... address
    ; offset in streams table
    ret

    rra
    ld a, 256-(END_LOOP-SKIP_RLC) ; instruction DJNZ ... ) - 1

    ld h, b ; now HL = char
    Einar Saukas Einar Saukas August 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... hl ; Store H before calculating
    ld h,0
    ld l,a< ... ; ASCII code in L
    ld h,0
    add hl,hl ... are reading the char-set table from the ROM, valid ... Store HL before calculating
    ld l,(hl) ; ASCII code in ...
    Einar Saukas Einar Saukas September 2011 Development
  • Tile based graphics and scrolling thingy...Here's my best attempt so far at a tile based rendering and scrolling routine. It draws in 22 8*8 graphics tiles along the top of the screen (junk i…

    ... will use a set of 256 tiles.

    ... ASCII code in L
    ld h,TILESETADDR/2048
    add hl ... straight in and as LD A,(DE) takes exactly ... to change the address table so I can remove ... /> [/CODE]

    The table itself will be taking up ...
    Zoltar Zoltar September 2011 Development
  • line, plot and circle in whole 256x192 displayhi! are there some way to draw lines, or whatever, in the whole 256x192 display, than just the above 256x176 part? (this is the msx1 version i made o…

    ... Y
    LD H,L ;H=0 now
    LD L,E ; ... ;screenaddr-Lo
    LD A,H
    LD H,B ;now HL = ... LD B,pixtable/256 ;find correct bit in table
    LD C,A
    LD ...
    roko roko September 2011 Sinclair Basic
  • Pixel engines for explosions...Hi... Iv a strange request... I was toying around with an old YS program, which can be found here: [url]http://www.users.globalnet.co.uk/~jg27paw4/ty…

    ...
    L61722: LD D,H
    LD E,H
    DEFB 38; LD H,
    INSERT1 ... )
    LD (INSERT2),A
    JP START

    DEFS (-$)%256 ; This ...

    SCR_TABLE: ; SCREEN ADDRESS TABLE NOW FOLLOWS IN HEX:
    kgmcneil kgmcneil October 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... the setup

    ld h,rotation_table_to_use
    ld l,0 ; sprite byte ...

    ; h = remnant rotation table MSB
    ; l = ... br /> inc h ; switch rotation table to current table
    ex ... to a 256-byte boundary then each table occupies an ...
    Alcoholics Anonymous Alcoholics Anonymous November 2011 Development
  • UDG in AssemblyHello there my fellow WoS'ers I am currently having a play with z88dk and PASMO and would like to have some fun with some UDG's so is there a tutor…

    ... character graphics
    ld h,0
    ld l,a ;hl = ... start of character table
    ld d,0
    ld e,c ... = row address in table
    ld e,(hl)
    inc ... row address fetched from table
    ld a,b
    ... ;next byte of screen, +256
    djnz loop ;repeat ...
    joefish joefish October 2012 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…

    ... ]start:
    ld a,$40
    ld l,$00
    ld (exit+1 ... routine as follows:
    [CODE] ld h,a
    REPT 7
    256 addresses insert an extra address ... map and 26*256=6656 bytes for each UDG table. Total execution ...
    Einar Saukas Einar Saukas March 2013 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…

    ... either need a look-up table to find the start of ... ,DE correction rather than the LD H,A ; INC L version, just ... fit 10 characters into a 256 byte page instead of only ...
    joefish joefish March 2013 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…

    ... either need a look-up table to find the start of ... ,DE correction rather than the LD H,A ; INC L version, just ... fit 10 characters into a 256 byte page instead of only ...
    Einar Saukas Einar Saukas March 2013 Development
  • Relocation with SDCCI desperately need auto- relocation with SDCC. Something that will compile all of my code using start address 0 and generate relocation table so that…

    ... how you interpret the relocation table(s).
    Patrik[/QUOTE ... ,#(_pmem_list)
    adc a, h
    ld h,a

    ... can only be at most 256 bytes in length).
    ... fixup value and the relocation table address being different, but ...
    u6c87 u6c87 April 2013 Development
  • Movin And A Groovin Horizontal Flip improvementOn the left is the flip horizontal portion from Andy Pennell'S excellent Movin' & a Groovin' machine code screen routines from Your Spectrum #19 (Oct…

    ... exx D9
    ld h, hi_byte_tableaddr 26XX
    ld l,a 6F< ... exx D9
    ld h,hi_byte_tableaddr 26XX
    ld l,a 6F< ... ex de,hl EB
    ld a,h 7C
    cp #58 ...
    Create lookup table to 256 byte boundary (requires 256 bytes of free ...
    jamorski jamorski August 2013 Development
<1234567…34>

Latest Posts

  • Your Favorite Magazine Cover Tapes.
    Your Spec-chum on 2:19PM
  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    Your Spec-chum on 1:34PM
  • i am currently listening to........
    mel the bell on 11:34AM
  • Mis-labeled cassette titles or a name change?
    harriusherbartio on 11:06AM
  • Ways to preserve Speccy Tapes in the loft
    harriusherbartio on 10:58AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 10:47AM
  • Minor British Sports that did become games on the ZX Spectrum
    harriusherbartio on 10:30AM
  • How to return to basic properly from ASM
    Paradigm Shifter on 1:54AM
  • Frankie's ZX Spectrum Digouts
    Zup on April 8
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 8

HitBox

Word Docs Hits
ld 6.3K 67.3K
h 7.2K 17.9K
table 5.8K 9.1K
256 4K 7.7K

Related Threads

  • T H E . S H A W . B R O T H E R S . . . did you play on these games? . . . . *website online now*There's a Spectrum section on our site at [url="http://www.sickhappyidle.com"]http://www.sickhappyidle.com[/url] (click on the spectrum or go through…
  • COOL LOOKSEE YOUTUBE VIDEO HERE!!! (o.s.I.h.h)100 vintage Amiga/Atari/PC games played in 10 minutes, for looksee click [COLOR=RoyalBlue][U]here[/U][/COLOR] ... no, sorry I mean [URL="http://www.y…
  • H.U.R.G. gamesNot a question on aksing how to use it, but does any1 know if a game was ever released commercially from it?<br /> <br /> The only game I can remembe…
  • D&H Games and Cult Software gamesJust discovered this forum recently, hello all.<br /> <br /> I was just wondering if there is anybody who enjoys/enjoyed the mainly sports management…
  • INVASION OF THE BODY SNATCHAS - Obscure High score table messages...After posting a message about this game on the 'first three games you bought' section, I got thinking more about this game.<br /> <br /> When you typ…
  • T H E . B E S T . J O Y S T I C K . E V E RThe best joystick I ever had was the<br /> Emax Arcade Professional<br /> <br /> Big, BIG, massive thing just like the ones in the arcade...<br /> <b…
  • H.E.X. music question"Go to Hell 2: Soft &amp; Cuddly" by Triple Six has a (pretty good, in my opinion) tune by a band identified in the MP3 tag as "H.E.X.". My questions…
  • Two Manic Miners in the top 100 games table?A while ago I was checking the top 100 games (according to WoS visitors' votes), but I couldn't help notice that there are [I]two[/I] distinct "Manic…
  • New project for 256 colours Games emulator!O.K. , I suggested Jonathan Needle ( Creator of the excellent Spectaculator at [url="http://www.Spectaculator.com"]www.Spectaculator.com[/url] ) to c…
  • EmuZWin supports 256 color gamesI am sorry starting new topic, but you see this info is important a bit:<br /> <br /> new version 2.4 of the EmuZWin is available to download, and it…

Related Searches

  • table pixadd
  • ld ix
  • ay frequency table
  • h n links
  • ld bytes
  • best place for interrupt table
  • interrupt table
  • ld hl de
  • harlequin rev h
  • 256 bytes
  • spectrum h
  • 256 byte align table ramtop error
  • 256 byte align table for sprite mask
  • 256 byte align sprite masklook up table
  • 256 byte aligned look up table
  • how to code a 256 byte aligned look up table
  • how to align a 256 byte look up table
  • align a 256 byte look up table
  • 256 byte look up table
  • ld h tablita 256

Copyright © 2024 World of Spectrum