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.314s
<1…10111213141516…34>
  • 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,…

    ...
    main()
    {
    unsigned char x, y, temp; // unsigned so ... /> }
    [/code]

    "test_asm.asm" - asm subroutines
    [code]

    ld l,a ; put in l.
    ld a,c ; get y ...
    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,…

    ... a chance to look at sdcc compilation of the above. In the asm ... was declared as "extern const char" whereas in "graphics.c" it was ... "static const char" (meaning invisible outside ... (ie all those "const char xxx[]") so the assembler is ...
    Alcoholics Anonymous Alcoholics Anonymous March 2015 Development
  • Hungarian notation for asm - Yes or No ?There is thing called hungarian notation - https://en.wikipedia.org/wiki/Hungarian_notation Basically it is all about using prefixed indetifier to i…

    It has its uses, in Z80 ASM it would let you immediately ... is supposed to be a byte, word or char in your text editor ... to ASM.

    It matters far more when operating in a world ... . I've never used it in ASM but I can see its ...
    RobeeeJay RobeeeJay July 2015 Development
  • Code structureHi all, I'd be interested in opinions on the neatest way to do this. I've got a print string routine in which 0-31 are reserved for control codes, …

    ... br /> [code]
    09F4 PRINT-OUT CALL 0B03,PO-FETCH ... The current print position.
    CP ... Print a question mark for
    JR C,0A69,PO-QUEST codes in ... might be to handle a char with PRINTCHAR and ... then have a PRINTSTRING that repeatedly ...
    dbolli dbolli August 2015 Development
  • 40 Column Printing RoutineI've written a 40 column printing routine, which I'd like to share... It's my first piece of 'public' code so go easy on me! I don't think it is a…

    ... 6x6 if it comes in handy.

    print at (hires)
    ld l,a ; char
    push hl ; store hl ... /> call vid_rowaddr ; hl=row address in video memory
    ld b ... hl get next row address in vmem
    ;; input: hl=address ...
    tstih tstih August 2015 Development
  • [Updated] RetroVM 1.0.4 with Recreated ZX Spectrum support.A new version available the change log: - Recreated ZX Spectrum "game mode" keyboard support. - Fix a bug with multiples machines running in para…

    ... on real hardware. Basically a bug in my game caused the ... then looks up the ascii char in the ROM table. It ... code and unfortunately was missing a halt statement to make ... you sent to me the asm code of the keyboard ... is ok in my emu, Maybe is a problem related ...
    jcgamestoy jcgamestoy November 2015 Emulators
  • Full-screen 32 columns bicolor engine NIRVANA+I'm glad to announce the release of [b]NIRVANA+ ENGINE[/b], providing support for bicolor graphics (multicolor 8x2) in 32 columns for all standard Sp…

    ... every function should have both asm and C entry points. ... So I'm adding some asm entry points that probably amount ... to unpack single bytes in the asm implementation of the function ... of unsigned char in parameters.

    A bug was found in copt ( ...
    Alcoholics Anonymous Alcoholics Anonymous December 2015 Brand new software
  • Internet enabling a SpectrumHi, Yonks ago, I floated the idea of using one of these: http://www.mycal.net/old/wsweb/img/s7600a.pdf ..to Internet enable a Spectrum. I d…

    ... I don't use char parameters at all in library code -- everything ... the program crash. So a compile in such an environment must ... ix is used by the asm implementation. This adds to the ... unable to generate calls through a function pointer to fastcall functions ...
    Alcoholics Anonymous Alcoholics Anonymous January 2016 Hardware
  • Variable sized tiles /tile routineHow would you do a variable sized tile routine where the tiles have position variables too? Thanks would be interested to learn :)

    ... and the coords in d & e and print all the graphics ... when i have a graphic in hl and coords in d & ... 30000
    start:
    ld a, (currentlocation)
    ld bc, ... 255

    include "drawmaskedprint.asm"

    largetree:
    ...
    alienbanana alienbanana January 2016 Development
  • z88dk v1.99A Release Candidate[b]Z88DK VERSION 1.99A RELEASE CANDIDATE[/b] Download from: http://nightly.z88dk.org/Releases/ The release candidate will be available for te…

    ... registers the called asm function does not modify in the brackets. It ... /> [code]
    extern size_t strlen_fastcall(char *s) __z88dk_fastcall __preserves_regs(d,e ... is a real example in the ffsl() function which takes a long in DEHL ...
    Alcoholics Anonymous Alcoholics Anonymous January 2016 Brand new software
  • So I did a thing...And it's nearly ready for release: [img]http://s18.postimg.org/4453ayo5j/Screen_Shot_2016_03_30_at_16_18_17.png[/img] Apologies for the enormou…

    ... now be used instead of PRINT
    Due to popular demand ... a$ IN b$
    IN now checks multi-char strings against ranges, ie "21" iN ... versions
    PRINT and TEXT could cause a stack overflow in some circumstances ...
    Dunny Dunny April 2016 Sinclair Basic
  • Function with push and popIm trying to see if I understand push and pop when it comes to using to pass parameters to functions: [code] LD HL,16384 LD A,5 Push AF Ld A…

    ... things is absolutely necessary in manually coded ASM* on the Speccy ... the top row of pixels in a char to a buffer at address SP1V_PIXELBUFFER ... for the 8 pixel rows in a char. The ix addressing is ... arch/zx/graphics/z80/asm_zx_pattern_fill.asm?revision=1.9& ...
    Alcoholics Anonymous Alcoholics Anonymous April 2016 Development
  • Z88DK NOOB cplot INK colorHi I am a complete NOOB with Z88DK, I am trying to draw colored circles. How does ink, paper and border work with Z88DK. I started trying to wo…

    ... /> {
    unsigned char *address;
    unsigned char mask;


    *(unsigned char *)(zx_saddr2aaddr(address)) = attr;
    ... inlined asm disrupts code optimization. z88dk in fact supplies a number ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • z88dk Font ChangeHi, I'm working in a couple of games, but Have someone some code to help on change the z88dk stlib font? Just one working example... Regard…

    ... of "myfont.dat" into the asm file. A symbol "_myfont" with leading ... the "_myfont" label, in your C code declare a global variable like ... there is an array of char data at address "_myfont" ... /> zcc +zx ..... prog.c myfont.asm ...


    If ...
    Alcoholics Anonymous Alcoholics Anonymous June 2016 Development
  • Character Based SpritesHi, I'm working through Jonathan's excellent guide to writing games, and have mastered the animation of single UDGs. Before or move onto Pixel…

    ... ), in the sense of how you use them, print char, or just a 8x8 ... clear last position (print a space), and reprint UDG char in new location.
    char area and reprint a 2x2 char area. (it's not really scrolling in ...
    RMartins RMartins July 2016 Development
  • Character Based SpritesHi, I'm working through Jonathan's excellent guide to writing games, and have mastered the animation of single UDGs. Before or move onto Pixel…

    Have a mess about with it, ... the graphics was a bit of a chore until I ... realised ZX Paint could export the data in .asm ... form with attributes.

    This type of routine is a ... lot better than using the ROM PRINT and ...
    daveysludge daveysludge July 2016 Development
  • New Game: Vallation.Okay, this has been hinted at by both Redballoon and me a couple of times, but the damn thing is finally done now. :-D [b][url="http://tardis.dk/w…

    ... the graphic that it does print onto the top left ... find 2x2 char versions, so you've probably designed a routine ... from the 3x2 versions and print it 2x2 (or something ... there seems to be a bug in the drawing of the ... table or there is a calculation error to the ...
    MatGubbins MatGubbins July 2016 Games
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... rendering time by writing it in assembly, but not possible to ... due with what I found in a few mins.

    It ... , there can be significant variation in printing speed depending on what ... the bare putc to print one char at a time. Printing strings would ...
    Alcoholics Anonymous Alcoholics Anonymous October 2016 Development
  • Proportional fontsI've been doing some proportional font drawing, purely on C level at the moment, but it's orders of magnitude slower than I'd want it to be. It's sti…

    ... see how its done in this proportional scroller I ... db 3ch,48h,48h,bch ;A
    db 7ch,54h,54h ... hl)
    push hl
    print:
    db 11h
    ... ;ld de,current char in text
    ld a,(de)
    sub ...
    jamorski jamorski October 2016 Development
  • Trying to remedy a bug in this gameStruggling with this project, the character shifts the crates around no bother but kills baddies that are one space to the left or right even though …

    ... left
    ld a,1
    ld (lr),a

    ld ... ) ;decrease value

    ld a,254
    cp (hl) ;check ...
    MatGubbins MatGubbins October 2016 Development
  • Z88DK v1.99B ReleasedAt Sourceforge: https://sourceforge.net/projects/z88dk/ It's been a year since the last release so it was time for another. This is another tran…

    ... />
    Here's some asm code in a file on its own:
    extern unsigned char ay_is_playing(void);
    extern void ... be in a subset of DEHL. If the return type is char, it ... will be in L. If the ...
    Alcoholics Anonymous Alcoholics Anonymous January 2017 Announcements
  • New ZEsarUX beta - RC2Hi I have uploaded a new ZEsarUX beta version on the usual url https://sourceforge.net/projects/zesarux/files/Beta_and_Snapshot_versions/ This…

    ... tested the ZXI Debug ports in asm in addition to your BASIC .tap ... ; ZEsarUX ZXI Port register flag Char output
    ZXIPORTNUM equ $02 ... BC,ZXIPORTREG ; Output Space char $32
    LD A,ZXIPORTCHR
    OUT ...
    dbolli dbolli March 2017 Emulators
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... own - it's a mix of C and asm. It's very ... library (~1k functions) is written in asm including things like the sprite ... so they can also provide a more powerful assembly development environment ... ansi terminal, you could instead print an ansi sequence to clear ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • endless runner project..So I'm thinking of writing a small tutorial series on writing games for the speccy in C, and figured that an endless runner would be an easy example …

    ... details.

    > char * foo, bar, baz; //foo is ... of type 'pointer to char', bar and baz are ... code for local unsigned char variables and in other circumstances may be ... in asm wherever they want. I would never personally write a large program in ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • im looking for a horizontal scroll routinehi, im looking for a horizontal scroll routine. i read somewhere that you can do it with at 'to' statement, somewhere in a print routine. althoug…

    ... -dimensional array and print the whole thing with a single "PRINT a$".

    All of the scrolling is done in ... screens) from right to left in 1-char steps.
    Battle Bunny Battle Bunny June 2017 Sinclair Basic
  • z88dk multicolour enginesI've been trying to work out how the multicolour sprite engines have been implemented in z88dk. It's not obvious. Looking in the source, I found …

    ... = 0 // do not create a heap
    #pragma output REGISTER_SP ... /> int main()
    {
    unsigned char blank_tile_index;

    BIFROSTL_resetTileImages(_ctiles ... basic which is not useful in asm or c). Instead just disable ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • z88dk terminalsto set up a terminal a bunch of numbers are needed: m4_zx_01_output_fzx(_window_1, 0x2330, 0, 0, 1, 14, 1, 19, 0, _ff_ao_Prefect, 14, 0, 14, 8, 1…

    ... /> int print_word_wrapped(FILE *out, unsigned char *s)
    {
    static int ... , -1) - 1;

    // print the string in lines that fit the ... * (to identify a specific output window) and a pointer to a zero-terminated ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • z88dk terminalsto set up a terminal a bunch of numbers are needed: m4_zx_01_output_fzx(_window_1, 0x2330, 0, 0, 1, 14, 1, 19, 0, _ff_ao_Prefect, 14, 0, 14, 8, 1…

    ... /> int print_word_wrapped(FILE *out, unsigned char *s)
    {
    static int ... , -1) - 1;

    // print the string in lines that fit the ... leading spaces in front of a paragraph. After a portion of a line is ...
    Alcoholics Anonymous Alcoholics Anonymous July 2017 Development
  • z88dk adventure problemI downloaded the example https://drive.google.com/file/d/0B6XhJJ33xpOWaHYxek15WXJyQVU/view?usp=sharing I changed NUM ROOMS to 13 here is the who…

    ... to each binary included. In tritone.c, the externs ... import the names from songs.asm. A "dzx7_standard(song_list[i].start, ... defined in compress/zx7.h.

    songs.asm just exposes ... each binary as a char array but you ...
    Alcoholics Anonymous Alcoholics Anonymous August 2017 Development
<1…10111213141516…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