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.090s
<1…26272829303132…34>
  • CODE SCREEN$ in MCIs there any way of determining what character is displayed at a certain co-ordinate from machine code like the 'IF CODE SCREEN$=' arrangement in bas…

    ... ld a,b ;string length in BC. DE points to string ... string
    ret
    endp[/code]

    For example, ... would do:
    [code]
    ld c,12
    ld b ...
    mcleod_ideafix mcleod_ideafix June 2013 Development
  • Machine code assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…

    ... , opened it, pasted the same code in location 40000 and it's ... the 16-bit value stored in 16-bit register BC. Or ... 40000, and set a breakpoint in ZXSpin debugger at address 40000 ... ). If your program changes register C to $63 (99), when you ...
    Black Hole Black Hole June 2013 Sinclair Miscellaneous
  • Hi all.Been lurking around here for a long, long time with the odd post. Suppose I'd better introduce me'sen properly with a hi! Spectrum owner from 1983 …

    Why program in C where anyone can read and understand your code after a while, when you could be programming in C++ and give yourself a maintenance contract for life?
    Paradigm Shifter Paradigm Shifter June 2013 Chit chat
  • Machine code assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…

    ... depend where you place this code in memory.

    PRINT ... BC which is 256*B+C.

    If you ... set only C without B your result will ... will get 100
    LD C,100
    RET
    ... br /> RET

    LD C,100 -you will get random ...
    Ralf Ralf June 2013 Sinclair Miscellaneous
  • Machine code assistance please #1Dear all, Learning the ropes here, so please excuse these odd questions which may seem simplistic to you learned lot. This routine is placed at 33…

    ... depend where you place this code in memory.

    PRINT USR ... BC which is 256*B+C.

    If you set ... only C without B your result will ... USR 40000 will result in 40000 when the code at address 40000 ...
    roko roko June 2013 Sinclair Miscellaneous
  • Struggling with this routine... Any ideas?I'm trying to write a routine that plots 3 pixels to decrease the energy bar in the top right corner by 5 units, but it just wont have it! There mus…

    ...
    ret
    [/CODE]

    [CODE]CLS

    ... ATTRIBUTES to the value given in ?a?.

    ... ldir
    ret
    [/CODE]

    [CODE]PRINT1

    This ...
    ENTRY a = CHARACTER CODE
    PRESERVED c
    EXIT b = 0 ...
    Shando Shando July 2013 Development
  • Fast Z80Todays Spectrums are fast as hell and few software utilises this. Z80 in ReVerSE runs at 42 MHz, in Speccy2010 at 28 MHz, in Pentagon 2.666 and in N…

    ... it :) You can write programs in C or asm to use the ... address space. The compiler inserts code to perform bankswitching for each ... programmer such as sectioning of code and data and instructions to ...
    Alcoholics Anonymous Alcoholics Anonymous July 2013 Development
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... . Rewritten from scratch in C language. I put all the code, tileset, maps ... license) :

    [url]http://code.google.com/p/abbaye-for ... />
    If I can help in any way, please ask me ...
    nevat nevat July 2013 New game ideas
  • Abbaye des morts[url]http://www.locomalito.com/juegos_abbaye_des_morts.php[/url] Looks like Spectrum, sounds like Spectrum, but it's not a Spectrum ('cause no colou…

    ... . Rewritten from scratch in C language. I put all the code, tileset, maps ... license) :

    [url]http://code.google.com/p/abbaye-for ... />
    If I can help in any way, please ask me ... do not have unfortunately experience in a similar
    Jerri Jerri July 2013 New game ideas
  • C.G.D - Classic Game Designer[b]UPDATE: August 07, 2013 AN UPDATED VERSION OF CGD IS NOW AVAILABLE, DETAILS HERE: [url]http://www.worldofspectrum.org/forums/showpost.php?p=7155…

    ... /> You can poke different values in:

    POKE 33980,xcor ... =Einar Saukas;712727]BTW the C.G.D. loader program contains ... all my testing dumping the code in from the SPIN assembler, and ...
    R-Tape R-Tape July 2013 Brand new software
  • Games/Programs making use of DivIDE featuresHello :) I have a question: I may be wrong, but it looks like the DivIDE and similar interfaces for the ZX Spectrum are almost exclusively used for …

    ... systems. It is written in C for maximum portability but places ... they are written in C. The web server, in particular, is dead ... is fundamentelly different is the code underneath the system. SymbOS ... contiki's, again without investigating in detail) and so on. ...
    Alcoholics Anonymous Alcoholics Anonymous July 2013 Development
  • Games/Programs making use of DivIDE featuresHello :) I have a question: I may be wrong, but it looks like the DivIDE and similar interfaces for the ZX Spectrum are almost exclusively used for …

    ... systems. It is written in C for maximum portability but places ... suited to the hardware in question but Contiki is ... , its apps are written in C, and it provides a ... lot of them tied up in less-than-useful, but ... has bugs in it. Contiki's IPv6 code was written ...
    chev chev July 2013 Development
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... RANDOM16" and added this:
    [code]
    RANDOM16:
    call ... ,(SEED32+2)
    ret
    [/code]

    --

    ... [/url]

    The code in the paragraph regarding the Richard ... head-or-tail of the C code, so I wrote a ...
    Battle Bunny Battle Bunny July 2013 Sinclair Basic
  • Fastest Z80?Hi , Could somebody explain more about the Kawasaki Z80 33 MHz to me? Is it fully backwards binary compatible with older Z80s and could it be used a…

    ... /> For example IN A,(C) is really IN A,(BC) as C provides A0 ... to A15.

    The code in the ROMs of the ZX81 ...
    1024MAK 1024MAK August 2013 Hardware
  • 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)…

    ... 's better to do this in assembler than work on that ... what is required in pseudo code (or in something like C)? It's splitting ... operator...

    Using sprintf in C would be easy...

    in 1/50th's of a ...
    Paradigm Shifter Paradigm Shifter 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…

    ... />
    .jubilee_pilot:
    ret c ; leave all unset (black) on ...
    macro border
    jr c,.high_edge ; leave all unset (black ... selected
    endif[/CODE]

    In the main loader, the ...
    stephenw32768 stephenw32768 August 2013 Development
  • RND cyclical behaviourGood evening. I'm playing with RND function to show its cyclical behaviour, i.e. after 65536 calls to it, the next one will return the same value of …

    ... it's finished.
    [code]
    RNDFUN: ld b ... ,$1D ;B= calculator code for VAL
    rst ... $023F ;address of "RND" code in key table
    defb $01 ... sbc hl,bc
    jr c,RNDFUN
    ld (23677), ...
    Battle Bunny Battle Bunny August 2013 Sinclair Basic
  • trying to read keyboardI have the speccy in interrupt mode 1 I used 'IM1' in assembly language then Im printing the contents of memoryu area 23560 to the screen: [quote] l…

    ... #6683;print whatever is in register A[/QUOTE]
    ... routine, and the comment in the ROM disassembly says ... lead to the number in the BC register pair ... br /> It prints the number in the bc register pair rather ... 'bc':

    [CODE]
    ld c, a
    ld b ...
    u6c87 u6c87 August 2013 Development
  • Mirroring UDG'sJust wondered is there a quick an easy way of mirroring UDGs (byte values)? i.e. BIN 11110000 becoming 00001111 etc.

    ... , bit faster:

    [code]
    ld c,1
    loop:
    rra
    rl c
    jr nc,loop[/code][/QUOTE]
    Hmm ... 's slightly quicker to type in: rra v. rrca.)
    SkoolKid SkoolKid 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…

    ... a time:

    [CODE] ld c,0 ; we need 256 pulses ... recent single edge counter
    ;; in the accumulator, we now have ... timing_constant_pilot ; finger in the air
    jr nc,.detect_sync_loop[/CODE]

    stephenw32768 stephenw32768 August 2013 Development
  • Border art viewerRecently, we were working with diver/4d on border art. The idea was to push the techniques of drawing on the border to the limit and to see, how much…

    ... : the undocumented instruction
    [CODE]out (c), 0[/CODE]
    actually outputs #FF ... into the port in BC on ... computer with AY sound chip. In the current beta, I simply ...
    introspec introspec 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…

    ...
    I do software development in C# and SQL for my day ... is accustomed to being experienced in one's field.
    ... /> My plans for 47loader are, in order:

    [ ... time taken for the code to execute is a ... of using pilot pulses in the data stream to ...
    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…

    ...
    [CODE]in a,(c) ; 12T[/CODE]
    with
    [CODE]in a,($fe) ; 11T[/CODE]
    IN address. Not a problem though ... /> I've added some features - code execution, border tweaks and a ...
    GoingDigital GoingDigital 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…

    ... [CODE]in a,(c) ; 12T[/CODE]
    with
    [CODE]in a,($fe) ; 11T[/CODE][/ ... was then mentally locked in using the C register, forgetting that ... Whether I use IN A,(0xFE) or IN A,(C), you're right ... ve added some features - code execution, border tweaks and a ...
    stephenw32768 stephenw32768 August 2013 Development
  • Can a guy that traveled on the short bus learn machine code...Hmmm So after some soul searching I figured it was time to finaly nail spectrum machine code. Its so frustrating to sit infront of a basic listing w…

    ... /> Lets all get high and code in hex.

    I will ... Vim user.)

    When in college there was a instructor ... wanted when writing a function in C
    .
    (just to infurate ...
    wibble wibble September 2013 Development
  • The Pros and Cons of "alternative" assembler syntaxContinuing from [URL]http://www.worldofspectrum.org/forums/showpost.php?p=720754&postcount=72[/URL] [QUOTE=u6c87;720754]But that wouldn't change if…

    ... old Joe wants to use in their code. So it's a ... to compile unmodified code. However, sdcc has very little in the way ... . What it has is written in C and only very few routines ... of C code than z88dk but z88dk's code will be faster and (in ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 Development
  • The Pros and Cons of "alternative" assembler syntaxContinuing from [URL]http://www.worldofspectrum.org/forums/showpost.php?p=720754&postcount=72[/URL] [QUOTE=u6c87;720754]But that wouldn't change if…

    ... specific, share considerable amount of code because they make use of ... 8-bit programmer whether writing in C or z80 can pretend to ... z80 target with only some code in the backend modified for a ... was made tractable because the code was in C and used a library ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 Development
  • The Pros and Cons of "alternative" assembler syntaxContinuing from [URL]http://www.worldofspectrum.org/forums/showpost.php?p=720754&postcount=72[/URL] [QUOTE=u6c87;720754]But that wouldn't change if…

    ... made tractable because the code was in C and used a library ... . Even without any source code whatsoever, it was done ... pretty easy to write code that can be re- ... the CPC and Speccy in pure assembler without having to ... use C, as long as you ...
    AndyC AndyC September 2013 Development
<1…26272829303132…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
code 41.6K 91.2K
in 401.9K 810.5K
c 20.3K 48.8K

Related Threads

  • Arrays in C and C++ from a Java Programmer.I have been looking arround the web and found many conflicting answers to this question so I thaught I'd ask you folkes.<br /> <br /> What is the C a…
  • Z80 disassembler C/C++ source codeHello,<br /> <br /> I just thought I might share the [URL="http://zxds.raxoft.cz/docs/z80d.cpp"]source code[/URL] of the Z80 disassembler I have writ…
  • 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…
  • getting c nonsense in basic when trying to load a program through a string in +3 basicstrangely if i use load s$(to 8), it says nonsense in basic but works when i run it. but when i execute the command without a line no it works withou…
  • 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…
  • Glad to see the ZX Spectrum is in the Science Museum in London.About time too! Last tiem I looked there was just the ZX-80 but the Spectrum is in there now too, alongside a pong-clone and a Vic-20.
  • ANN: Write Spectrum Games in C with speclib121Announcing the sprite pack C library for the z88dk C cross compiler available from:<br /> <br /> [url="http://justme895.tripod.com/main.htm"]http://j…
  • Chaos - Secret names found in the code! ooerI doubt by any stretch of the imagination I'm the first but hey its an attention grabbing Subject line innit.<br /> <br /> I was editing away at the …
  • have a speccy program not in the archive or in MIAIntermediated Maths 2 for the 48K!!
  • 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…

Related Searches

  • developing in c
  • machine code sprite movement in basic
  • change tape to disk in machine code
  • delays in timed code
  • machine code in loading screen
  • floating bus in c
  • pause 0 in machine code
  • load code from basic in emulator
  • divide in machine code
  • code in udg memory
  • machine code in rem
  • in a c
  • in a c key map
  • in c
  • in c instruction
  • plot in machine code
  • machine code paint type in
  • machine code graphics type in
  • machine code in basic
  • loading in machine code

Copyright © 2024 World of Spectrum