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.087s
<1…28293031323334>
  • About how z88dk generates code and makes room for variables.When you attempt to code games for the 128K models using z88dk in C you need to somewhat control where variables are stored in memory. I thought tha…

    ... QUOTE=Alcoholics Anonymous;745231]
    [code]
    // "main.c"

    extern ... zx -vn main.c globals.asm -lndos
    [/code]
    [/QUOTE]< ... both C and ASM code (i.e. generate the C and ... script should be written in an easier declaration syntax.
    Paradigm Shifter Paradigm Shifter January 2014 Development
  • What Spectrum projects (Software/Games/Utility)(Hardware)(Others) are you working on?So, basically that :) You dont have to give names or more clues if you dont want to ;) Also, if you are working on more than one, you can tell all of…

    ... jp asm_memset
    [/code]

    [code]
    "string/c/lr_z88dk/memset_callee.asm ... incurring any C overhead.

    In the C interface code, the callee ...
    string/c/lr_sdcc/memset
    [/code]

    [code]
    "string/ ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... in C is there a function in z88dk which would show the assembler code ... then see what it is in the other language etc
    Wookiee Wookiee January 2014 Sinclair Basic
  • DIM DATA and the likeSo...I'm trying to work out arrays in BASIC a bit more and have knocked up the following quick test bed to fiddle about with before trying anything m…

    ... in C is there a function in z88dk which would show the assembler code ... what it is in the other language ... the assembly output in most C compilers, but ... br /> 2. C compilers usually pass ... C compiler will optimise things, but that can make the assembly code ...
    David Jones David Jones January 2014 Sinclair Basic
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... well as machine code knowledge before doing the C bit.
    < ... moment, most (probably all) examples in C programming doesn't teach you ... have to pick that up in an assembly course anyway.
    in C that also describes Speccy programming ...
    Timmy Timmy January 2014 Development
  • Clearing 22 lines of the screenHow do I go about clearing the top 22 lines of the screen and leave the bottom #0 area untouched? I have a routine to reset the attributes, but cant…

    ... in C, from row top HL, fast enough.

    [CODE] ... GIVEN NUMBER OF ROWS (held in C) from ROW TOP (addressed ... )
    ld c,22 ;number of rows in c
    ld ... put whatever you like in A to fill or ... h,a
    jr loop3[/CODE]

    Sorry about ...
    R-Tape R-Tape January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... there is not much C code but in general C is the [I]lingua ... franca[/I] in that everyone ... well-versed in C, understand pointers, indirection, types etc, and can code to ... out of fashion and their code crawls along because they're ...
    Dunny Dunny January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... an 8-bit well in C.

    About C. C is very close ... . As a result programming in C is very similar to programming ... on large architectures; programming in C you are doing the same ... the code is not C. It is hand-coded asm, supplied in libraries ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... code is not C. It is hand-coded asm, supplied in ... keyboard, joysticks, mice all in assembly. The math libraries ... are in assembly. The fzx ... proportional font system is in asm. Much of, ... not gonna outrun them in C! For full, fast ...
    Marko Marko January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... Anonymous;748021]
    programming in C you are doing the same ... pure machine code programs, pure C programs, or mixtures of C and ... you can't just code in asm using a C compiler - you have ... The reasons are simple -- programming in C is a pleasure but is ...
    Dunny Dunny January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... fairly easy to view comparative code for the Spectrum's ... memories of programming accounting systems in C - of which I was ... /> Anyhoo, where was I ... "... comparative code." For BASIC, read the Vickers ... that'll give all the code for comparison that could be ...
    Battle Bunny Battle Bunny January 2014 Development
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... addressing modes to allow C code to be better translated ... [code]
    But you can't just code in asm using a C compiler ... -
    [/code]
    < ... br /> But you can :) You never have to touch C in ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Pac-Land: can be coloured?All versions of this game are full coloured, but not the Spectrum version. It has large sprites, but maybe the scroll is too fine to make a coloured …

    ... /> JP 37144 ;back to original code

    ;---------------------------
    in loop code
    ;jump here ... /> JP 34786 ;back to original code

    ;----------
    EXX ;original code
    LD C,A
    EXX< ...
    Ralf Ralf January 2014 Games
  • Idiots Guide......To machine code, or assembler language...whatever the appropriate term is Basically at this stage I want to fiddle about and try and get used to…

    ... you can't just code in asm using a C compiler -
    ... You never have to touch C in a C compiler environment. The assembler ... assembly is a convenience only in the C program.

    ... I was discussing using assembly in the C code itself; you're offering ...
    Dunny Dunny January 2014 Development
  • A new full-screen bicolor engine called NIRVANA[I]OK, there's something I need to clarify first: Nowadays if you write [B]"multicolor"[/B] everyone assumes it refers to "multicolor 8x1" (an attri…

    ... will crash in Assembler, or cause visual glitches in C or ZX ... string message on screen. In these cases, synchronization is ... 't make much difference in performance in this case anyway.
    code properly with the screen ...
    Einar Saukas Einar Saukas January 2014 Brand new software
  • Outputting debug trace to RS232 (assembly)Hi Guys, I'm working on a game at the moment (written in assembly) but I am really needing to write out a debug trace of what is going on with the p…

    ... much close to the (C) Screen equivalent. Furthermore, ... System Vars from a (C) State before running the ... wrong when calling this code directly from a SJASM ... return back to my code correctly. At some point ... by loading my code in to RAM from a (C) Screen.
    BloodBaz BloodBaz January 2014 Development
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... current code to work this way.

    AFAIK GZipStream in C# can ... ), but I find it awkward. In Java, there's GZIPInputStream for ...
    Einar Saukas Einar Saukas January 2014 Brand new software
  • ZX7: an "optimal" LZ77 packerAbout 20 years ago, I started a M.Sc. in Computing, planning to work on data compression. Although I quickly changed to another subject for a number …

    ... to adapt the current code to work this way ... take :) The spectrum code cannot compress so it ... br /> [quote]
    AFAIK GZipStream in C# can be used both ways ... I find it awkward. In Java, there's GZIPInputStream ... push a decompress filter in front. If you want ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Brand new software
  • Help with File Compressor by Mladen PopovicHi, I'm trying to compress BombJack (MCM) and transfer it to a +3 disk (Yes I own the original game :) ). I'm unsure about the addresses to enter in…

    ... saved, without messing with the code in line 1.

    length ... a,2
    sra c
    jr c,n1
    inc a ... djnz x3
    srl c
    jr c,ms
    inc b ... b
    n5 rr c
    ret c
    rl b
    FrankT FrankT January 2014 Development
  • Help me with this Stack overflow Freak Show.I am asking a simple question on Stack overflow and once again, the closed minded morons a pointing and tutting. I'm asking a question about C point…

    ... to database, send email from code etc. If you want to ... access memory directly but pointers in C were always a pain for ...
    Ralf Ralf January 2014 Chit chat
  • Help me with this Stack overflow Freak Show.I am asking a simple question on Stack overflow and once again, the closed minded morons a pointing and tutting. I'm asking a question about C point…

    ... br />
    In your example:

    [code]
    int * ... /> int val =99;
    [/code]

    the compiler ...
    The "&" operator means, in C, take the address of.

    [code]
    int &val_ptr;
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Chit chat
  • 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 …

    ... it's put in the right place:
    [code]
    org 45311 ... c
    jr nz, loop2
    djnz loop1
    ret
    [/code ... />
    010f0 0984a
    [/code]
    In frames, that's roughly: 2 ...
    Battle Bunny Battle Bunny January 2014 Development
  • Finding an empty cell in a grid[FONT=Calibri][SIZE=3]I?m after some advice on ways to tackle the following problem. I?m not after code to do this but would be interested in possibl…

    I use spiralling code for strategy games.
    It finds the closest unit a lot faster than doing distance checks on all units.

    It deals with out of bounds also.

    Mine is in C though, dont know if that is any use.
    slenkar slenkar February 2014 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... to view the z80 compiled code in spin's disassembler. You might ... find the code hard to read though, as ... 's a combination of compiled C code and very efficient coded z80 ...
    Timmy Timmy February 2014 Development
  • A z88dk + sp1 demo (with source)Since nowadays people are still wondering about how difficult it is to make something in z88dk, I thought I just put a very simple demo to show how e…

    ... 100k lines of asm source code in libraries and the sp1 ... and looks like this in C:

    [code]
    void sp1_MoveSprPix_callee(struct ... C should be mixed. So you will see in the source code ... above that there is a C preamble ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • Next gen programmers are going to be ****ING AWESOME!I'm so glad my daughter's computering is in good hands: [url]http://politicalscrapbook.net/2014/02/tory-boss-of-government-coding-education-initiati…

    ... the Pi) to write code. The standard Raspbian distribution ... writing "Hello world" in interpreted and easy languages to ... 3D graphical games written in C. It's actually one ... on the Pi (a C program) using Raspbian, and ... this is also written in C and uses the Pi's ...
    Winston Winston February 2014 Chit chat
  • Next gen programmers are going to be ****ING AWESOME!I'm so glad my daughter's computering is in good hands: [url]http://politicalscrapbook.net/2014/02/tory-boss-of-government-coding-education-initiati…

    ... the Pi) to write code. The standard Raspbian distribution ... writing "Hello world" in interpreted and easy languages ... 3D graphical games written in C. It's actually one ... this is also written in C and uses the Pi' ... a capable of programming in all modern languages ...
    Scottie_uk Scottie_uk February 2014 Chit chat
  • Programming again with the ZX SpectrumI am going to take a blast at programming for the Spectrum again. Its bee a long time since I have done this. I need to refresh my memory and maybe l…

    If you decide to dive in with Assembly Language, a good ... /> and

    Mastering Machine Code on Your ZX Spectrum by ... /> and write the tricky bits in C :)

    Regards,
    Derek ...
    dbolli dbolli February 2014 Sinclair Basic
  • Programming again with the ZX SpectrumI am going to take a blast at programming for the Spectrum again. Its bee a long time since I have done this. I need to refresh my memory and maybe l…

    ... ]If you decide to dive in with Assembly Language, a good ... /> and

    Mastering Machine Code on Your ZX Spectrum by ... /> and write the tricky bits in C :)

    Regards,
    Derek ...
    rich_chandler rich_chandler February 2014 Sinclair Basic
  • Is ESXDOS flexible enough to incorporate e.g. Spectranet commands?I was just discussing the idea with someone about the wish some people have to be able to combine interfaces such as DivIDE (Plus) / DivMMC EnJOY! wi…

    ... -implement READ say in z88dk library code so that you ... a disk file, in C parlance it's: fscanf(in, "%d", & ... usual READ message:

    [code]
    ****************
    * STDIO_MSG_READ
    ... the data structure code we're using in z88dk already (I ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
<1…28293031323334>

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