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.114s
<1…567891011…34>
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    Well, that turned out to be remarkably ...
    .main_loop:
    ld c,0 ; initialize pulse counter
    . ... jr nc,.exit ; bail out if BREAK pressed
    ... pulse
    inc c ; we have found ...
    stephenw32768 stephenw32768 August 2013 Development
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... (hl),.edge_loop_start_pilot
    ld c,0 ; initialize pilot pulse counter< ... jr .exit ; bail straight out
    .read_edge_loop:
    inc ... to make sound
    out (0xfe),a ; switch ...
    stephenw32768 stephenw32768 August 2013 Development
  • Confounded DEF FNCan anyone see why this is going wrong? I've been tinkering with it since tea time and got nowhere. [code] 2 DEF FN t$(n,t,d) =STR$ INT (n/t)…

    Here's a way to get both the calculator & machine stacks included when you're calculating function memory usage in BASIC. Just put the DEF FN in 1001 and the FN call in line 1030.

    [center][img]http://www.users.globalnet.co.uk/~jg27paw4/ ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... for pilot pulses
    ld c,0 ; we need 256 pulses
    out (0xfe),a ; switch border and ...
    jr .exit ; bail straight out

    ;; reads eight ...
    stephenw32768 stephenw32768 August 2013 Development
  • Experimenting with turboloadersHello, My first post, having lurked here for a while. I'm a lifelong computer nerd, Spectrum fan since childhood in the eighties, and have recently…

    ... br /> [CODE] ld c,0 ; we need 256 pulses ... pilot pulse
    ld c,.timing_constant_pilot+.pilot_pulse_min
    ... )+.timing_constant_pilot
    ld c,b ; store this ... taken a leaf out of [b] ...
    stephenw32768 stephenw32768 August 2013 Development
  • Books that you just can't quit.Much as parts of the presentation,writing style infurates me, there is a book I just keep comming back to again and again. Its like the Yang to the …

    ... 1000 DIM R(55): DIM C(55)
    1009 REM ... P=1: LET R=0: LET C=INT (RND*32)
    0; PAPER 6;,,
    1099 REM print out scores ... S: BEEP 0.01,0: PRINT AT R(P),C(P); PAPER ... THEN PRINT AT R(P),C(P); PAPER 7;" "
    C=C+CMOVE
    3029 REM ...
    wibble wibble August 2013 Sinclair Basic
  • Copying data between memory banks in USR0 modeI am experimenting with Funky Fungus to load the majority of its data (levels, screens, music etc.) into memory banks 1, 3, 4, 6 and (partly) 7 by sw…

    ... HL,49152

    LOOP: OUT (C),D ;reads from source bank ... /> LD A,(HL)

    OUT (C),E ;writes to destination bank ... : LET n=16
    40 OUT a,n+3: LOAD "1 ... from bank 5 to bank 0 and finally decompress the data ...
    Alessandro Grussu Alessandro Grussu September 2013 Development
  • Copying data between memory banks in USR0 modeI am experimenting with Funky Fungus to load the majority of its data (levels, screens, music etc.) into memory banks 1, 3, 4, 6 and (partly) 7 by sw…

    ... ). You need to do an OUT to port #7FFD to select ... BC, #7ffd; LD A, byte; OUT (C), A), but that byte also ... the top 16K:

    OUT 32765, [i][/i] + BIN 000 ... 1 0 000

    Bit 4 ...
    chev chev September 2013 Development
  • Copying data between memory banks in USR0 modeI am experimenting with Funky Fungus to load the majority of its data (levels, screens, music etc.) into memory banks 1, 3, 4, 6 and (partly) 7 by sw…

    ... to bank 0
    LD BC,32765
    OUT (C),A
    LD BC,32765
    OUT (C),A
    LD HL,55296 ... to bank 0
    LD BC,32765
    OUT (C),A
    LD HL,16384 ;copies it to bank 0< ...
    Alessandro Grussu Alessandro Grussu September 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... .endif

    ; THE 'ROM-0 ENTRY' SUBROUTINE
    org 0x0007 ... start when coming from ROM 0

    ; THE 'ERROR ... /> cp 6 ; test for characters 0-5 (tokens)
    ccf ; ... a ; set video mode
    out (c), e ; set ROM and VRAM ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ay_reg ; register port
    out (c), a ; write value to port ... br /> ld b, 0 ; offset
    ld c, a ; to BC ... INT p)
    fst 0 ; i to mem-0
    fsub ; d ... 0x98, 0x1f, 0xf5 ; mantissa (0.0577622606)
    fmul ; d, pk ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... byte
    ld (hl), c ; C to second byte
    inc ... to BC
    ret c ; return if out of range
    ... and flags
    scf ; signal out of range
    ret ; ... a ; insert digit
    ld c, 0 ; signal non-leading zero
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... stack available
    out (c), a ; do paging ... 0
    ld a, 0 ; FIXME (remove and reinstate above line)
    out (c ... stack available
    out (c), a ; do paging ... 0
    ld a, 0 ; FIXME (remove and reinstate above line)
    out (c ...
    chev chev October 2013 Development
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... any way to check it out from BASIC (without breaking the ... Buffer format:

    Entry 0
    Entry 1
    Entry ... long):

    Bytes 0...7 - Filename (ASCII) left justified ... >=2
    C = Filter
    bit 0 = include system files (is ...
    The_Bert The_Bert October 2013 Sinclair Basic
  • IF EXIST?In MS-DOS scripting, there is an IF EXIST command that lets you check wether a file exists in disk or not. There are any way to check it out from BA…

    ... ld (23388), a
    out (c), a ;set DOS environment
    0, E =open action 2 ... OK, 0=error
    ld b,0
    ld c,a< ... ;select RAMpage 0
    ld (23388), a
    out (c), a
    Battle Bunny Battle Bunny October 2013 Sinclair Basic
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... br /> fst 0 ; store step in mem-0
    fdel ... pointer
    ld d, 0 ; zero statement counter
    ... ; enter calculator
    fgt 0 ; v
    fgt 2 ... get operands
    out (c), a ; perform out
    ret ; end ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... , 16 ; normal video
    out (c), a ; set video
    ... ld a, 7 ; volume
    out (c), a ; select it
    ...
    ld b, 0 ; clear B
    ld c, (iy + _subppc) ... , ROM 1, VRAM 0, RAM 0
    out (c), a ; 48 compatibility ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... out_line:
    ld e, 0 ; LD DE, 0
    rl e ; E ... ; prism CPU speed select
    out (c), a ; change speed
    ... set ch-add
    ld c, 0 ; signal quotes off
    < ...
    each_s_5:
    bit 0, c ; test quotes flag
    ...
    chev chev October 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ; ROM 0, VRAM 1, RAM 0
    out (c), a ; ... ; ROM 0, VRAM 1, RAM 0
    out (c), a ; ...
    chev chev November 2013 Development
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ... ; ROM 0, VRAM 1, RAM 7
    out (c), a ; ... 00001000 ; ROM 0, VRAM 1, RAM 0
    out (c), a ; ...
    chev chev November 2013 Development
  • Converting an integer arbitrary large binary number into a printable decimal formThis was asked a long ago at the comp.sys.sinclair newsgroup. At that time, I came up with a solution by extrapolating the classic algorithm of suces…

    ... ways I eventually worked out a right way. ... : push de
    ld c,0 ;C =octal digit counter
    ... /> add a,c
    ld c,a ;update octal ... br /> ld b,0
    jr c,Next6
    Loop6 ...
    Battle Bunny Battle Bunny November 2013 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... /> call dos_set1346
    jp nc,0

    ld bc,$ ... /> call dos_open
    jp nc,0

    ld hl, ... error control)
    jp nc,0

    jr bucle ... /> ld (BANKM),a
    out (c),a
    ei
    ret ... />
    tabla:
    db 0
    dw 16384
    dw ...
    Zup Zup December 2013 Development
  • Z80AsmI've been using the Z80 PC Assembler 1.2 by Peter Hanratty and found that the RST 8 instruction assembles to 200. It should be 207. Ret Z is 200 wh…

    ... , which is, admittedly, v1.0, but I found several bugs ... of the IN r,(C) or OUT (C),r commands will assemble ... at all.
    [*]The JP C ... ,nn & JR C,d & RET C commands are ... got fed up at RET C.

    I ...
    Battle Bunny Battle Bunny December 2013 Development
  • Getting aquainted with the IF1bisToday, fifteen days after dispatch, the IF1bis arrived at my door. In perfect order. No customs, no TVA and no handling fee involved. The arrival of …

    ... the year of the Sinclair(c) message is changed, just for ... /> 30 OUT 127,0: REM 1bis OFF
    32 OUT 191,0: REM writprot ... OFF
    34 OUT 255,0: REM 1bis ... /> 100 OUT 127,0: REM 1bis OFF
    110 OUT 63,0: REM writprot ...
    roko roko December 2013 Hardware
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... configuration)

    ld de,0 ; disable cache
    ld hl ... /> call dos_set1346
    jp nc,0

    ld bc,$0501 ... /> call dos_open
    jp nc,0

    ld hl,table ... ),a ; BANKM is updated
    out (c),a
    ei
    ret ...
    Speccy_James Speccy_James February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... /> 5 PRINT AT 0,0;"ABCDEFGH"
    10 FOR c=0 TO 7
    11 FOR d=0 TO 7: PRINT AT 0 ... ,d; PAPER 7-c; OVER ... : NEXT d
    12 NEXT c: PAUSE 10: GO TO 5 ... of fading the whole image out.

    Thanks for the ...
    Speccy_James Speccy_James February 2014 Development
  • A "generic" loader for +3(e)I've made this loader for 128k games in +3DOS. [CODE]dos_open equ 262 dos_close equ 265 dos_abandon equ 268 dos_read equ 274 dos_write equ 277 dos_s…

    ... as before
    ld c,0 ; RAM0 will be paged ... as before
    ld c,0 ; RAM0 will be paged ... ld b,$5
    ld c,0
    call dos_read
    ... ld b,$5
    ld c,0
    call dos_read
    ... ),a ; actualizamos BANKM
    out (c),a ; paginamos
    ei
    Zup Zup February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... co-ordinates (for example B=0, C=0 on screen to begin with ... -right quarter of the block - C+1 - and prints that (CALL ... of the block - B+1, C+1 - and prints that (CALL ... size, as you already figured out
    - add more DEFB statements ...
    Morkin Morkin March 2014 Development
  • Calculating an average?I would like to calculate the average amount I pay per month on my sons' school lunch accounts. Every month I receive a notification when the lunch m…

    ... /> 10 LET t=0
    20 LET c=0
    30 INPUT " ... br /> 50 LET c=c+1
    60 PRINT AT 0,0;"Total = $";t ...
    70 PRINT AT 2,0;"Entries = ";c< ... br /> 80 PRINT AT 4,0;"Mothly ... on a 48K) to break out of the INPUT and stop ...
    joefish joefish March 2014 Sinclair Basic
<1…567891011…34>

Latest Posts

  • Where to Buy the New or Fairly Recent , Excellent ZX Spectrum Games Software?
    harriusherbartio on 11:40AM
  • 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
  • 1992 Spectrum Software
    harriusherbartio on April 7

HitBox

Word Docs Hits
out 128K 166.7K
c 20.3K 48.8K
0 940.2K 1M

Related Threads

  • ANNOUNCE: Fuse 0.6.1, libspectrum 0.2.0, fuse-utils 0.6.1I'm pleased to announce the release of the Free Unix Spectrum Emulator (Fuse) 0.6.1, which is now available from its [url="http://www.srcf.ucam.org/~…
  • Fuse 0.5.1 and libspectrum 0.1.0 releasedVersion 0.5.1 of Fuse, the Free Unix Spectrum Emulator, is now available from its homepage, [url="http://www.srcf.ucam.org/~pak21/spectrum/fuse.html"…
  • ANNOUNCE: Fuse 0.6.1.1, libspectrum 0.2.0.1Hi all.<br /> <br /> The recently released Fuse 0.6.1 and libspectrum 0.2.0 contained a couple of moderately serious bugs:<br /> <br /> * The SVGAlib…
  • Release candidates for Fuse 0.7.0 and libspectrum 0.2.2Hi all.<br /> <br /> Release candidates for [url="http://fuse-emulator.sourceforge.net/fuse-0.7.0pre1.tar.gz"]Fuse 0.7.0[/url] (and [url="http://fuse…
  • (Belated) ANNOUNCE: Fuse 0.7.0 and libspectrum 0.2.2 releasedThe Fuse team is pleased to announce that release of Fuse 0.7.0, the associated utilities and version 0.2.2 of the Spectrum emulator support library,…
  • why when you type spectrum on the +2 and +3 does it say out 7, 0:1, instead of ok 0:1?this is a bit odd.
  • comp.sys.sinclair Crap Games Competition (C.S.S.C.G.C. 2022) is here!Welcome one and all!<br /> <br /> [img]https://i.postimg.cc/3yYpjjbH/cropped-CCG2022.png[/img]<br /> <br /> I am proud to announce the opening of…
  • ANNOUNCE: Fuse 0.6.0 and friendsThe Fuse team announce the release of version 0.6.0 of Fuse, along with version 0.6.0 of the Fuse utilities and version 0.1.1 of libspectrum, the Spe…
  • ANNOUNCE: Fuse 0.6.0 for Mac OS XHot on the heels of the UNIX release of Fuse 0.6.0, the native Mac OS X port is now released.<br /> <br /> It has all the great features of Fuse 0.6.…

Related Searches

  • tape ran out
  • r forum loading error 0 1
  • r tape loading error 0 1
  • speccy 4 0
  • hisoft c manual
  • divide out 32768
  • out on 3
  • out fe on 3
  • out 32765 48
  • 2 grey out 32765 48
  • esxdos 0 8 5
  • 0 44548571
  • esxdos 0 8 6
  • usr 0
  • usr 0 128
  • fuse 1 0
  • out c a
  • ay out c a
  • ld bc 65533 a 254 out c
  • out 51 0

Copyright © 2024 World of Spectrum