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.013s
<1…25262728293031…34>
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    ... />
    // zcc +zx -vn array.c -o array -lndos -lfzx -create ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    ... chars in sccz80 (z88dk's C compiler, probably the reverse for sdcc ... appropriately can also allow the compiler to generate better code in ... an int will cause the compiler to insert sign extension code ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • array offset (z88dk)Im trying to simulate a 2 dimensional array by using an offset [code] #include <fzx.h> char scr[768]; int arrayoffset(char x,char y) { return (x*…

    The macro will work but it's like inlining code -- it will lead to a larger code footprint, which is what slenkar was trying to reduce.

    If code footprint is important you can modify the macro to call a function to compute the index instead -- ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • Andromeda and MCoderI came across "Andromeda" by PSS written "in BASIC for MCODER" by A. Tobias 1983. Unfortunately the ANDROMED.TAP file always failed with R Tape Loadi…

    ... the code above allows the compiler to work again.

    C) 1982 and MCODER2 showing (C) 1983).

    Jimmy Jimmy January 2014 MIA/STP/SDP
  • Can any C experts help me - have hit an impasseHere is an excerpt from my attempt to program a Bridge game in C. Can you spot where I'm goiing wrong? I am trying to count the points in each ha…

    ... /> }
    [/code]

    In C++ structs are public classes so ... function via a pointer. In C, a struct can be passed ... the array offset manually -- the compiler needs that info for the ... always passed as pointers in C, unlike structs.

    Prefer ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Chit chat
  • 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…

    ... /> [code]
    // "main.c"

    extern int ... four bytes) for "long c"
    _d ds.w ... /> // zcc +zx -vn main.c globals.asm -lndos
    [/code ... consider writing a data compiler which takes a ... either). Parsing the C declarations is the hardest ...
    Paradigm Shifter Paradigm Shifter January 2014 Development
  • 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…

    ... ld (_char_c),init_c ;; initialize char c

    ld hl,init_i ... reloading an image. The C standard accommodates these cases by ... you cannot say whether the compiler will change sometime in the ... by the compiler) but is not there yet. The C embedded ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • 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…

    ... ) principle, although it is C so that is to be ... expected (C++ is the same too ... forth between the line dividing C and asm so we ... set of names for the C compiler and another for the ... here is something the compiler will eventually automatically do.
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Development
  • 128k gamesHi. I've come to World of Spectrum for advice. I'm a Commodore guy OK, please be nice to me, as I seek your wisdom! I love the Commodore 128, and I'…

    ... CA65 which gives you a C compiler and an assembler. If I ... m not sure about using C yet, but some people ... really great results by using C for game logic and assembler ... is to prototype logic in C for speed of trying ... life, and using some C might help me get the ...
    dryjoy dryjoy January 2014 Games
  • 128k gamesHi. I've come to World of Spectrum for advice. I'm a Commodore guy OK, please be nice to me, as I seek your wisdom! I love the Commodore 128, and I'…

    ... CA65 which gives you a C compiler and an assembler. If I ... m not sure about using C yet, but some people ... really great results by using C for game logic and assembler ... is to prototype logic in C for speed of trying ... life, and using some C might help me get the ...
    polomint polomint January 2014 Games
  • 128k gamesHi. I've come to World of Spectrum for advice. I'm a Commodore guy OK, please be nice to me, as I seek your wisdom! I love the Commodore 128, and I'…

    ... CA65 which gives you a C compiler and an assembler. If I ... m not sure about using C yet, but some people ... really great results by using C for game logic and assembler ... is to prototype logic in C for speed of trying ... life, and using some C might help me get the ...
    Pegaz Pegaz January 2014 Games
  • 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…

    ... s
    ; e = char c
    ; bc = uint n ... for sccz80 (the z88dk native C compiler):

    [code ... /> [code]
    "string/c/lr_z88dk/memset_callee.asm"

    string/c/lr_z88dk/memset
    string/c/lr_z88dk/memset_callee
    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…

    Maybe you should try C first it's a lot ... though with a C to Z80 compiler on the PC. C also maps ...
    Paradigm Shifter Paradigm Shifter 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…

    ... ;746199]Maybe you should try C first it's a lot ... though with a C to Z80 compiler on the PC. C also maps ... , so I can basically use C to generate machine code?
    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…

    ... were largely written using C, but now most ... games use C++, which is C with object orientation ... Ok, I dislike modern C++, but C is great.
    < ... When you compile a C program and accidentally miss ... with Pascal depending upon what compiler you used.

    David Jones David Jones January 2014 Sinclair Basic
  • harvard architecture spectrum clone.I got my first +2 before christmas. I'd never given the 128k spectrums much thought, always been a 48k rubber key tradionalist. :smile: I've been me…

    ... and 8 bit ALU. A C compiler that supports the added instructions ...
    JamesD JamesD January 2014 Hardware
  • 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…

    ... can get something going in C is there a function in ... the assembly output in most C compilers, but it may be ... be any comments
    2. C compilers usually pass parameters to ... assembler
    3. A good C compiler will optimise things, but that ...
    David Jones David Jones January 2014 Sinclair Basic
  • ****ing Awesome Spectrum Engine (FASE)This is a new engine (sprites, tiles, map) for all ZX Spectrum machines. The engine set ups a runtime enviroment that leave between 24K and 30K byt…

    ... .

    Looking at the C code, I think you will ... of those will require the compiler to inline multiplication code. Because ... the nice array dimensions, the compiler may not have to resort ...
    Alcoholics Anonymous Alcoholics Anonymous January 2014 Brand new software
  • ****ing Awesome Spectrum Engine (FASE)This is a new engine (sprites, tiles, map) for all ZX Spectrum machines. The engine set ups a runtime enviroment that leave between 24K and 30K byt…

    ... ;746355]
    Looking at the C code, I think you will ... of those will require the compiler to inline multiplication code. Because ... the nice array dimensions, the compiler may not have to resort ...
    antoniovillena antoniovillena January 2014 Brand new software
  • 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…

    Stay away from C. I cannot stress that enough ... tackle C. If you don't understand what the compiler is ... doing (and are an amateur with C as ... bloated and slow - and C compilers don't exactly produce ... the forums and almost no C code at all.
    ...
    Dunny Dunny January 2014 Development
  • Andromeda and MCoderI came across "Andromeda" by PSS written "in BASIC for MCODER" by A. Tobias 1983. Unfortunately the ANDROMED.TAP file always failed with R Tape Loadi…

    ... 3! (not the French ERE compiler rebadged as MCODER 3).
    compiler which identifies itself as "Microdrive ... .0" and the copyright is (C) 1984. It looks similar to ... newer.

    Unfortunately the compiler has been modified so if ...
    Jimmy Jimmy January 2014 MIA/STP/SDP
  • 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…

    ... amount of RAM, a C compiler is the last thing a ... likely quite well-versed in C, understand pointers, indirection, ... will benefit the beginner C coder far better than ... a knowledge of C would a beginner assembly ... - far from it; C itself is a portable assembly ...
    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…

    ... . [b] An expert C programmer[/b] knows this ... is absolutely nothing like C. Neither is x86 assembly ... code in asm using a C compiler - you have to ... doesn't include C because... well, C is just crap. ... your development process, check into C.[/QUOTE]

    ...
    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…

    ... higher-level languages such as C. Actually, if developing on a ... , then it has to be C - I know of no other ... to the strengths of your compiler and where its limitations are ...
    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…

    [QUOTE=Paradigm Shifter;748039]K: Nonsense in Basic[/QUOTE]
    Really? How much space will you have on your Spectrum after the C compiler has been loaded (not to mention the source code).
    rich_chandler rich_chandler 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…

    ... ldir, lddr everywhere. The C compiler is not able to generate ... never have to touch C in a C compiler environment. The assembler ... just information for the C compiler; from your asm program ... increase productivity greatly. A C compiler is not possible using ...
    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 in asm using a C compiler -
    [/quote]

    ... never have to touch C in a C compiler environment. The assembler is ... are just information for the C compiler; from your asm program ... then you can dump the C compiler completely and go straight to ...
    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…

    ... The assembler is not the C compiler though, is it? That' ... discussing using assembly in the C code itself; you're ... I can easily write C that calls into my ... suggesting there that a C program can only use ... libraries than can interact with C code.

    ...
    Alcoholics Anonymous Alcoholics Anonymous 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 …

    ... code (it's standard C, so whatever C compiler you have should work ...
    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 …

    ... code (it's standard C, so whatever C compiler you have should work ...
    Timmy Timmy January 2014 Brand new software
<1…25262728293031…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
compiler 2.5K 3.8K
c 20.3K 48.8K

Related Threads

  • 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…
  • C CompilerIs there an IDE based C compiler for the 128. I've heard rumours...
  • OT: Free C compilerI`ve decided it`s time to learn C, or possibly C++, and have managed to get a couple of cheap second hand books to help me on my way...<br /> <br /> …
  • 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…
  • Softek Super C compiler royaltiesPCW on 26th of May 1983 says that Softek wanted royalties from Silversoft for using their compiler. Does anyone know if anything happened?
  • How do I know where my C compiler is putting my variable?Let me show you my code. I am writing a Z80 emulator (z80.c) which sets up a bit of shared memory for communication with another process. Well, I got…
  • 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…
  • Softek Super C Compiler[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0008698"]Softek Super C Compiler[/URL]<br /> <br /> I've just made a TZX of this, from the [UR…
  • How to get a good app builder/ c# compiler?Well topic says it.<br /> <br /> I want to make a few apps and/or programs for the PC so I need some compilers for both. Any good (free) suggestions …
  • c & c red alert 2 freeanother day.. another freebie<br /> <br /> http://www.pcgamer.com/command-conquer-red-alert-2-is-free-on-origin/

Related Searches

  • z80 compiler
  • hisoft c manual
  • z88 compiler
  • compiler
  • speccy c
  • cross compiler
  • developing in c
  • hi soft compiler
  • hi soft compiler faster
  • hi soft compiler fast
  • divmmc c
  • xor c
  • xor c loop
  • ld a b xor c loop
  • ld a b or c loop
  • goodwin compiler
  • pacmen c
  • emulator c
  • emulator c source
  • compiler c

Copyright © 2024 World of Spectrum