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.363s
<1…9101112131415…34>
  • Cross platform developmentI'm just vaguely considering supporting a few more retro 8 bit platforms for something I have in mind to do. Just Z80 and 6502 really, but that cove…

    ... meant to be close to asm and the culture is ... graphics, is being passed into a char*. The current C standard has ... argc, char *argv[]) { /* ... */ }
    or equivalent;10)[B] or in some ... might get things like a commandline passed in and integer returned. Then ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • Cross platform developmentI'm just vaguely considering supporting a few more retro 8 bit platforms for something I have in mind to do. Just Z80 and 6502 really, but that cove…

    ... 737674]C warnings are like a nagging mother. Errors are ... meant to be close to asm and the culture is ... much take that to heart in my own C code -- ... graphics, is being passed into a char*. The current C standard has ... same game more than once a day. No I still ...
    Timmy Timmy November 2013 Development
  • Cross platform developmentI'm just vaguely considering supporting a few more retro 8 bit platforms for something I have in mind to do. Just Z80 and 6502 really, but that cove…

    ... Shifter;737751]Replace the char* argument you pass as 0 ... behind a couple of standards.

    The underlying asm is ... that parameter as a char* allows using a pointer to graphics data ... prototypes in the header to expect void* rather than char* gets ...
    Alcoholics Anonymous Alcoholics Anonymous 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…

    ... amp; carry procedures together in one pass rather than ... the multiplication & carry in separate passes. So each ... code]
    ; Massive-bit.ASM
    ; print a very long binary number as ... $2d2b ;STACK_BC stack the number in BC
    rst $28 ...
    Battle Bunny Battle Bunny December 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…

    ...
    ; Massive-BCD.ASM
    ; print a very long binary number as ... $2d2b ;STACK_BC stack the number in BC
    rst $28 ... o(n) )
    ;first, add in the next octal digit from ... ;length of binary number in bits (min.24, max ...
    Battle Bunny Battle Bunny December 2013 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…

    ... a text print routine then, that can write a character from a ... (unsigned char chr, unsigned char *attrs, unsigned char lin, unsigned char col ... provide an actual advantage in this case. The main ... just provide a routine to paint a character in bicolor, since ...
    Einar Saukas Einar Saukas December 2013 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 …

    ... ((unsigned char *)16384));
    ...
    }
    }

    #asm
    ... be a reason for [strike]the ampersand in the ... and[/strike] extra parenthesis in the second parameter, but ... Perhaps these problems were fixed in latest z88dk?

    Einar Saukas Einar Saukas December 2013 Brand new software
  • Beepola v1.08 AvailableA new version of Beepoa, v1.08, is now available for download from:- [url]http://freestuff.grok.co.uk/beepola/[/url] (1.76MB zipped exe, no installe…

    ... I've tried composing a tune in Beepola, compiling it ... the following C code in z88dk ? la "Beeper ... a reset Spectrum!

    [CODE]extern unsigned char beeper [];

    #asm ... // Play tune

    #asm
    call _beeper
    #endasm ...
    szeliga szeliga December 2013 Announcements
  • Beepola v1.08 AvailableA new version of Beepoa, v1.08, is now available for download from:- [url]http://freestuff.grok.co.uk/beepola/[/url] (1.76MB zipped exe, no installe…

    ... if you put them in a #asm/#endasm block that is ... (ie you embed that asm in a C program) then the ... a reset Spectrum!

    [CODE]extern unsigned char beeper [];

    #asm ... />
    ======

    "frankt.asm"


    XDEF _frankt ...
    Alcoholics Anonymous Alcoholics Anonymous December 2013 Announcements
  • Changing the font in z88dkEither I've got this backwards or the documentation is incorrect... :smile: "[URL="http://www.z88dk.org/wiki/doku.php?id=platform:zx"]The standard Z…

    ... can't have inline asm in the global scope in a C program, ie ... /> [code]
    extern unsigned char font[];

    #asm
    _font: binary ... />
    extern unsigned char font[];
    extern unsigned char sprite[];

    Alcoholics Anonymous Alcoholics Anonymous December 2013 Development
  • Writing faster BASICIn terms of structuring BASIC programs, what are the best ways allocate variables, functions, arrays? Any tips. I remember INPUT mag had some suggest…

    ... like it could be modified in a lot of ways but ... In issue 16 they provided a line trace for basic, written in ASM that ... br />
    4990 Print "Initialising...."

    5195 Print "Almost on it ... ..."

    5315 Print "Ok getting down to work ...
    dmsmith dmsmith January 2014 Sinclair Basic
  • 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…

    ... problems. Have I hit a weak point in the compiler or am ... main_script_offset;
    extern unsigned char *script;
    #asm
    ._script defw 0 ... in this snippet:

    [code]unsigned char __FASTCALL__ read_byte (void) {
    #asm ...
    na_th_an na_th_an 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…

    ... {
    unsigned char script_result;
    unsigned char script_something_done;
    unsigned ... int main_script_offset;
    unsigned char *script;
    } GLOBALS;
    in asm and just extern them in a global.h ...
    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…

    ... two kinds of global variabales in C : the initialized and ... (the latter are stored in an area that is sometimes ... br />
    struct _f { int a; char b; };

    extern ... 0;
    }

    // "globals.asm"

    defc start_group_a = $c000 ...
    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…

    ...
    extern int a;
    extern char b;
    extern long ... ];
    extern struct _f { int a; char b; } f;

    ...
    }

    // "globals.asm"

    defc start_group_a = $c000 ... should be written in an easier declaration syntax.
    Paradigm Shifter Paradigm Shifter 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…

    Shame there is not a site or page that would give you a side by side coding,

    ie. say how print works in basic/asm/C or how to do a cls in basic/asm/C

    and so on.
    ardentcrest ardentcrest 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…

    ... you a side by side coding, ie. say how print works in basic/asm ... /C or how to do a cls in basic/asm ... memories of programming accounting systems in C - of which I ... reference source for anyone programming in Z80 assembler on the ...
    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…

    ... you can't just code in asm using a C compiler -
    [/quote ... never have to touch C in a C compiler environment. The assembler ... and then the ROM to print the result.

    [code ... the assembler
    // z80asm prog.asm -lz80.lib (approximately - I don ...
    Dunny Dunny January 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 look for this function in a library
    call asm_utoa ; ... /> rect_fullscreen:
    defb 0 ; y char coordinate 0-23
    defb ... documentation on using these libraries in asm as I know it's ... start to see things happening in a couple of weeks, free- ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Development
  • 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…

    ... driver is handled is a structure in IX that describes the ... and a message delivered in registers and identified in the A register.< ... very small and qualifying a char is a simple matter of exchanging ... 000 lines of asm in the past three months. In the previous ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • ZX-Assembler file handling concept[QUOTE=clausjahn;777075]Dear readers, At this time, it's a good time to ask you, the future users, how to implement the file usage. Let's suggest so…

    ... more problem for real asm programmer, if he do ... data be given a name. eg, "ld ix,print; jp (ix ... "print".

    I may have misled you a bit in ... Source code is stored in a partially assembled state with ... and obv yes, in C your asm routine had to be ...
    Alcoholics Anonymous Alcoholics Anonymous September 2014 Emulators
  • Creating a linked list in Z80[FONT=Calibri][SIZE=3]I am using a circular buffer to store tiles to be displayed on the screen. Tiles only appear for a set period of time, so when …

    ... several C++ STL containers implemented in asm in z88dk that are mainly untested ... same as forward_list. This is a singly-linked list type so ... same type as found in C#. This is a doubly linked list ... expense of a little speed.

    The "p_" in the ...
    Alcoholics Anonymous Alcoholics Anonymous October 2014 Development
  • clear a windowed area of the screenHi everyone! Ain't been on here for donkeys, but have recently started messing around with a little game. I'm looking for ideas/opinions on the bes…

    ... , specifically sp1_ClearRect_callee.asm
    [/QUOTE]

    In this case it ... bytes. The update engine in sp1 must eventually write those ... you clear the area then print a menu, it will only write ... on the display is common in old video game systems. ...
    Alcoholics Anonymous Alcoholics Anonymous October 2014 Development
  • Detecting flash mode inversionsIs is possible to detect with certainty when flashing characters change from normal to inverted and vice-versa?

    ... be updated every frame (and a midget):

    [code ... IF (m>1) THEN PRINT AT 0,0;" ": GO ... TO 10
    40 PRINT AT 0,0; FLASH 0 ... can do the same thing in only 2 lines" :)
    ... to give a proper timing, so it should be coded in asm anyway.
    Arda Arda November 2014 Development
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... is printing in colour. The fzx_state contains a foreground attribute ... the screen are retained. In the first screen, four ... char is coloured. If you have a large font and print a ... the write justification functions (in this program, fzx_write_justified()). If ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... to the maximum rectangle around a char so the full height and ... the full width of the char will be coloured. Colouring will ... will still see some gaps in colour in the fzx_reader but there ... in the low level print functions. I'll look at this too -- a ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • FZX: a new standard format and driver for proportional fonts[B]FZX[/B] is a very compact and efficient (although extremely flexible and powerful) standard format to create new fonts for the ZX-Spectrum. It sup…

    ... maximum rectangle around each individual char

    * if attribute_mask ... a point in the string/buffer to one past the last char ... that will fit a given pixel ...
    * string_puts / buffer_write: just print the chars, \n is understood ...
    Alcoholics Anonymous Alcoholics Anonymous January 2015 Brand new software
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ...
    // A Hashed UDG for Background

    unsigned char hash[] = { ... Declared in ASM at End of File

    extern unsigned char ... crts. "-startup=31" is a minimal crt without any FILEs ... files. You can create a binary of a certain size (say, ...
    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... colour(unsigned char x,unsigned char y,unsigned char color)
    {
    #asm
    ld l,a ; put in l.
    ld a,c ; get y ... br /> ld l,a ; put in l.
    ld a,b ; get y ...
    slenkar slenkar February 2015 Development
  • Testers for new z88dk clibA long (long, long, long) time ago a few people offered to help test the new clib in z88dk. Much time has passed since then and I won't hold people,…

    ... ,unsigned int y,unsigned char *gfx)
    {
    #asm

    IF ... wrapping your asm function in a C header, sdcc is creating a stack frame ... /> ; void drawchar(unsigned char x,unsigned char y,unsigned char *gfx)

    Alcoholics Anonymous Alcoholics Anonymous February 2015 Development
<1…9101112131415…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
print 8.5K 20.4K
a 589.5K 1.7M
char 1.4K 4K
in 401.9K 810.5K
asm 3.8K 6.7K

Related Threads

  • I NEED A HAND FINDING A 3D CHESS GAME......WITH A HAND IN ITOk.Firstly - It's not one of the chess games in the archive with the word chess in the title.<br /> ##(Although - The ChessMaster2000 LOOKS very fami…
  • Free to a good home - Anyone in South Wales want a pile of Spectrum Games and a +3?Bit of an emergency - I'm moving out in a hurry and I don't have time to sell these!<br /> <br /> Is there anyone in South Wales who wants a fairly b…
  • A.I. in a Pacman game made in BasicA few years ago I tried to make my own Pacman game in Sinclair Basic. The map, UDGs and the whole game was completed and was working with just one gh…
  • A Day in the Life of a Tupperware Salesman (Tie-in licence)[URL="http://www.worldofspectrum.org/infoseekid.cgi?id=0010762&amp;loadpics=3"]A Day in the Life of a Tupperware Salesman[/URL]<br /> <br /> "Inspire…
  • How to separate a character from a number in a string?Hi <br /> I've been writing a kind of logo type program in BASIC that takes a string a$ from INPUT and then draws according to what you give it. Say…
  • A recollection of a Bug in a "good" game:the mystery of the bug and the game will be revealed later!Well what is the "big deal":- a bug in an old Spectrum game. So what!<br /> <br /> Well , I should explain: it was a good very popular game and I …
  • 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…
  • A Spectrum, a couple of felt tip pens and a lot of free time on Sunday afternoons...In my opinion the best part of having a Spectrum was drawing a game map of the latest Ultimate game in the back page of my geography text book thereb…
  • Install a Sintech Video adaptor in a Spectrum+Hi all,<br /> <br /> I'm an old Commodore user (boo! hiss!) that's aquired his first Spectrum. Since my modern TV doesn't like the RF output of any o…
  • have a speccy program not in the archive or in MIAIntermediated Maths 2 for the 48K!!

Related Searches

  • circle in asm
  • cars ending in a
  • asm text print
  • a gremlin in the works
  • a message to all the devs in this section
  • 2 motherboard in a 128
  • 2 roms in a 128
  • screen chr position in mc asm
  • how to load a tape in 3
  • colors in a string
  • attributes in a string
  • a yankee in iraq
  • print big text in basic
  • let a poke print
  • multiply in asm
  • copying a screen in zx basic 1 second
  • post a picture in forum
  • in a row
  • in a
  • a day in the life

Copyright © 2024 World of Spectrum