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 207 results in 0.000s
<1234567>
  • z88dk printf crashI thought I'd mentioned this before but I couldn't find it with a search. For some reason using printf with the nightly build of z88dk just crashes …

    ... />
    For some reason using printf with the nightly build of ... /> If I comment out every printf and recompile it runs through ...
    guesser guesser January 2012 Development
  • Z88DK - file IO on a plus 3So I have this very simple program, and it doesn't want to open a file for writing: [code] #include <stdio.h> #include <stdlib.h> void main() { FI…

    ... /> {
    FILE *stream;

    printf("\x1B[2JTest of file IO ... />
    if(!stream)
    {
    printf("Failed\n");
    return;
    Winston Winston May 2008 Development
  • z88dk Help neededI'm starting my tests with z88dk from a very simple example from a tutorial in speccy.org. It works fine but when I make the smallest modification t…

    ... if I uncomment the final printf, then it crashes.
    It ...
    Emlyn_Hughes Emlyn_Hughes January 2009 Development
  • Goldfinch - an open software stack for mass storageYep, another pet project of mine to compete with all the others I've started. But hey, if I didn't get distracted by things like this I'd just get di…

    ... ; x < 16; x++) {
    printf("%02x ", buffer[y|x]);
    }
    printf("\n");
    }

    return ...
    gasman gasman May 2009 Announcements
  • z88dkHi there, are there any good online-ressorrces (PDF books, tutorials, keyword lists with descriptions, *.chm files etc.) to learn small C (z88dk). I …

    ... at this, I only know printf does write text on screen ...
    LCD LCD July 2009 Development
  • 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…

    ... = 5678;

    printf("\nLocating the shared memory segment ... 0 ) {
    printf("error.\n");
    printf("SHMID = %d",shmid);< ... /> }

    printf("\nAttaching shm segment to the ...
    bl_ctrl = 0;
    printf("\n");
    exit(0);
    wilsonsamm wilsonsamm December 2009 Chit chat
  • Problem with Spin 0.7s +3 file I/OI'm currently trying the +3 disk functions in z88dk. I've based my work upon the simple snippet Winston posted a while ago, but doing the contrary. H…

    ... = (unsigned char *) 16384;

    printf("\x1B[2JTest of file IO ... ");

    if(!stream) {
    printf("Failed\n");
    return;
    na_th_an na_th_an March 2010 Emulators
  • Learning C for z88dkI've never gone much beyond basic, a little bit of z80 assembler, and some Delphi which I had lots of help with. I've forgotten 99% of what I learne…

    ... tutorials.

    Even using printf to make a Hello World ... is in the z88dk wiki, printf ("\1\32\19\49\20 ...
    mulder mulder April 2010 Development
  • Compiling C.I have a bit of a question about the workings of a compiler. Suppose I wrote a small hello world in C, then I'd need to do [code] #include <stdio.h> …

    ... ]
    #include
    main() {
    printf("Hello, world!");
    return();
    wilsonsamm wilsonsamm June 2010 Chit chat
  • z88dk + File Handling ProblemHello my fellow WoS'ers I thought I would ask here as I am having a bit of trouble with a very simple C program that I wrote for the spectrum using…

    ... /> if(fptr!=NULL)
    {
    printf("File READ allocated: Now READING ... />
    index+=1;

    printf("ch = %d, ",ch);
    }

    }
    else
    {
    printf("\nThere was an IO error ...
    Zetr0 Zetr0 August 2011 Development
  • Crazy Library failure in z88dkHello there my fellow WoS'ers yet another late night problem for the wee small hours I recently managed to get file-handling working very well, t…

    ... /> void main( void )
    {
    printf("hello world");
    }
    [/code ...
    Zetr0 Zetr0 August 2011 Development
  • z88dk hates me =(Hello there my fellow WoS'ers Under the power of darkness I was about to settle in and play with some SP1 sprite handling (as printf is simply NOT f…

    ... some SP1 sprite handling (as printf is simply NOT fast enough ... /> void main( void )
    {
    printf("Hello World");
    }[/code]
    Zetr0 Zetr0 August 2011 Development
  • z88dk sticky?I've just tried to PM Alcoholics Anonymous and couldn't because "Alcoholics Anonymous has exceeded their stored private messages quota and cannot acc…

    ... /> void hello(void)
    {
    printf("Hello ");
    return;
    }
    void mum(void)
    {
    printf("Mum!\n");
    return;
    Shaun.Bebbington Shaun.Bebbington January 2012 Development
  • probably simple C questionI haven't done any C for a while, so I'm probably making a simple mistake, but I can't see what's going wrong here. [code] FILE *fin = fopen("ff01di…

    ... d", &e);
    printf( "edges=%d\n",e );< ... = 0;
    }
    printf( "reset %d\n",i );
    n = -1;
    printf( "edges=%d\n",e );
    printf( "%d\n",i );
    fscanf ... , n));
    }
    printf( "nodes=%d\n",n );
    Battle Bunny Battle Bunny February 2012 Development
  • BIFROST* Advanced Programming - part 1In BIFROST*, it's much easier to just make changes in the tile map and let the engine automatically draw & animate everything in multicolor for you. …

    ... br /> #define printMode(mode) printf("\x01%c", mode)
    # ... define printCls() printf("\x0c")
    #define printInk ... /> #define printAt64c(row, col) printf("\x16%c%c", ' '+row, ... printAt(20, 1);
    printf("Delay: %d frame(s)", ...
    Einar Saukas Einar Saukas July 2012 Development
  • BIFROST* Advanced Programming - part 2This second demo shows animated and moving tiles together, and also how to implement collision detection. This knowledge should be enough to implemen…

    ... />
    #define printMode(mode) printf("\x01%c", mode)
    #define ... printCls() printf("\x0c")
    #define printInk(k ... ;
    printAt(20, 8);
    printf("%d", frames);
    }
    ...
    Einar Saukas Einar Saukas July 2012 Development
  • BIFROST* Advanced Programming - part 3This new demo demonstrates the BIFROST* built-in sprite support that I mentioned before. In BIFROST*, "sprite tiles" are 2 special tiles that BIFROS…

    ... )
    #define printCls() printf("\x0c")
    #define printInk ... /> printAt(20, 8);
    printf("%d", frames);
    }
    printAt(20, 8);
    printf("%d", frames);
    }
    Einar Saukas Einar Saukas July 2012 Development
  • BIFROST* Advanced Programming - part 4In previous posts I demonstrated how to move multicolor tiles up and down smoothly by a single pixel, and sideways by an entire char (8 pixels). Thi…

    ... />
    #define printMode(mode) printf("\x01%c", mode)
    #define ... printCls() printf("\x0c")
    #define printInk(k ... ;
    printAt(20, 8);
    printf("%d", frames);
    }
    ...
    Einar Saukas Einar Saukas August 2012 Development
  • real value of some of these books as learning aids?Ok, I admit perhaps it was a late night and frustration. :???: I could have been hallucinating when i was doing the typein. But I think not.. [url]…

    ... />
    include
    main(){
    printf("hello world";
    }

    WibbleBibble WibbleBibble August 2012 Sinclair Basic
  • BIFROST* Advanced Programming - part 5In my [URL="http://www.worldofspectrum.org/forums/showthread.php?t=40437"]previous post[/URL] I demonstrated how to move multicolor images smoothly i…

    ... /> printAt(20, 8);
    printf("%d", frames);
    }
    printAt(20, 8);
    printf("%d", frames);
    }
    printf("%d-%d ", tilegroup, tilegroup ...
    Einar Saukas Einar Saukas August 2012 Development
  • BIFROST* Advanced Programming - part 6The purpose of this demo is somewhat different from previous ones. Instead of teaching a new technique, the main goal here is to demonstrate how much…

    ... br /> #define printMode(mode) printf("\x01%c", mode)
    ... #define printCls() printf("\x0c")
    #define printInk ... /> #define printAt(row, col) printf("\x16%c%c", ' '+row, ... /> #define printAt64c(row, col) printf("\x16%c%c", ' '+row, ...
    Einar Saukas Einar Saukas September 2012 Development
  • z88dk and im2I set up a minimal IM2 mode so I can draw sprites for a laff [code] #include <string.h> #include <stdio.h> #include <im2.h> #include <stdlib.h> #in…

    ... br /> thread_manager_init(roundrobin_scheduler(4));
    printf("Manager start\n");
    thread_manager_start ... key */
    case 'a':
    printf("hello");

    }
    ...
    slenkar slenkar October 2013 Development
  • Sorting BusinessThis is a little bit different from the usual game-related fare but I know there are a few people here who like this sort of thing. This is about so…

    ... /> int main()
    {
    printf("\nFilling the array with random ... i!=50; ++i)
    printf("%u, ", numbers[i]);
    ... );


    printf("\n\nQSORT!!\n\n");
    printf("%d, ", numbers[i]);
    ...
    Alcoholics Anonymous Alcoholics Anonymous May 2014 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,…

    ... (i=0; ; ++i)
    {
    printf("%u Hello World!\n", i ... );
    printf("%u Goodbye World!\n", i ...
    Alcoholics Anonymous Alcoholics Anonymous December 2014 Development
  • Tau Day<br>By popular demand (well, demand of one, which is highly popular in the sorts of things I do :D ), here is a small celebration of tau day, June 28…

    ... -lm_sdcc_ix

    // printf %g must be enabled in ... (1, IOCTL_OTERM_CLS);
      
       printf("June 28 is Tau Day ... .0);
      
       printf("tau = %.11g\n\n", tau ... 6.28));
      
       printf("\n");
      
       in_wait_nokey();< ...
    Alcoholics Anonymous Alcoholics Anonymous June 2015 Development
  • Short & Amusing (was: Soduko Solver)Looking for some ideas for simple but fun programs, I came across this brute force soduko solver which might amuse: [code] // zcc +zx -vn -startu…

    Looking for some ideas for simple but fun programs, I came across this brute force soduko solver which might amuse:

    [code]
    // zcc +zx -vn -startup=1 -clib=sdcc_ix -SO3 --max-allocs-per-node200000 --reserve-regs-iy soduko.c -o soduko< ...
    Alcoholics Anonymous Alcoholics Anonymous July 2015 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…

    At Sourceforge:
    https://sourceforge.net/projects/z88dk/

    It's been a year since the last release so it was time for another. This is another transitional release on the way to version 2.0 and hopefully we'll get there for the next one ...
    Alcoholics Anonymous Alcoholics Anonymous January 2017 Announcements
  • ZXSCLZF - Yet another Screen CompressorQuick disclaimer before I continue, this compressor does not shrink screens as small as some of the others posted here, in particular the very good z…

    ... *sizeof(unsigned char)))==NULL) {
    printf("error: unable to allocate memory ... *sizeof(unsigned char)))==NULL) {
    printf("error: unable to allocate memory ... 1;
    }
    } else {
    printf("error: invalid option %s\n ...
    TomD TomD April 2017 Development
  • z88dk : FIle Handling in C on the +3e environment under Win 764bitHello my fellow WoSers! I am wondering if someone can help me solve this little pickle of z88dk / Windows using +3e Filesystem. So a little inf…

    ... /> if( fp == NULL )
    {
    printf("Error Cannot open FILE to ... ");
    }
    else
    {
    printf("Writing text to file\n ... \n");
    fclose( fp );
    printf("file created\n");
    }
    Zetr0 Zetr0 June 2017 Development
  • How to write a simple C+asm horizontal scrolling game (Tutorial, z88dk)[b]How to write a simple C/asm horizontal scrolling game[/b] [b]Note:[/b] This tutorial has multiple parts... I am still writing but this first pa…

    ... />
    void main()
    {
    printf ("Hello World!\n");
    }
    Timmy Timmy September 2020 Development
<1234567>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • European Software Titles with an English version
    harriusherbartio on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
printf 208 821

Related Threads

  • z88dk printf crashI thought I'd mentioned this before but I couldn't find it with a search.<br /> <br /> For some reason using printf with the nightly build of z88dk j…

Related Searches

  • z88dk printf cls

Copyright © 2024 World of Spectrum