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.029s
<1234567…34>
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... library routine written in asm that uses the LDIR ... will be written in asm and will be smaller ... point reached when things are fast enough.

    ... the d_Print() routine to print a maximum of n ... d_MyPrint(22, 0, alpos, 32); // print a max of 32 chars ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Project: M.u.l.e.Wokani came up with a great idea about trying an open-development approach for spectrum games, and I thought why not try with a game I have under dev…

    ... small, readable and fast enough rather than super fast.

    ... deeply nested subroutine. When you print one fat char, this subroutine ... candidate for hand-optimizing in asm since it's small, ... like intermediate with the C/asm mixing at advanced). But ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... of the code you use decimal, I'd get people used ... used to do " .. is cool" print / goto program.. using that as ... starting point and doing an asm version also..

    although ...
    fog fog November 2009 Development
  • What Z80 development tools do you use? What books?Hi. I've been meaning to do it for over 25 years, but.. better late than never :) I'm starting to learn machine code and am trying to get a developme…

    ... br /> 1. Forget about decimal. You really don't want ... thinking in decimal while writing in asm, try to ... together well, but decimal and binary don't ... (hl) ; fetch char to print
    and a ; is ...
    rst 0x10 ; print the char
    inc ...
    Winston Winston December 2009 Development
  • Z88DK/SP1 library u_malloc() questionHi All, It may possibly be more appropriate for me to post this on the Z88DK forum, but I know quite a few WoSSers have used Z88DK, so here goes:- …

    ... mean the program could only print character codes as background graphics ... code (or own hand written asm) when possible and reusing the ... use a very fast build script and a fast computer, so I ... masked sprites on screen, and fast. Even if there was no ...
    Timmy Timmy December 2010 Development
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ... listing and produce a fast and tight executable. That ... a/2) = a/2 THEN PRINT "EVEN": NEXT a
    ... a/2) a/2 THEN PRINT "ODD": NEXT a[/code]< ... Sinclair BASIC while being relatively fast (at least much faster ... to include your favourite ASM snippets in line is ...
    na_th_an na_th_an February 2011 Development
  • Xor-shift random number generator for Z80[QUOTE=Patrik Rak;320244]Come on, people, [URL="http://www.jstatsoft.org/v08/i14/paper"]xor-shift generators[/URL] devised by Marsaglia, that's the w…

    ... randomBase () as uByte
    ASM
    random: ld hl,$A280 ... hl
    ret
    END ASM
    END FUNCTION
    ... FASTCALL randomFixed() as FIXED
    ASM
    call random
    ... br /> print randomBase()

    REM print as a decimal, like basic ...
    Gedlion Gedlion May 2012 Development
  • Tutorial - learn machine code in 30mins[B][I]Message from the moderators[/I] - bigjon has requested that readers' attention be drawn to a better version of this tutorial, one which is easi…

    ... the machine code and print the score we have ... our machine code at free, fast-running (over 32768) and ... go to GAMEOVER.
    ;print car
    ;scroll road
    asm into the save box.< ... display window:
    10 PRINT AT 0,0; "Your ...
    buzzy buzzy September 2012 Development
  • Designing an icon-driven adventure: looking for adviceHi fellas, after the release of Funky Fungus, I am currently contemplating the possibility of designing an icon-driven adventure with location graph…

    ... them in DEFB statements instde ASM/END ASM area, because I compress ... with MegaLZ), You can reuse ASM procedures (thats like new ... to put graphics blocks extremly fast, scroll-up screen area routine ... anymore.
    The build in PRINT command has ability to use ...
    LCD LCD April 2013 Development
  • BIFROST* example: "Knights & Demons DX" source codeA package containing the source files of our multicolor game "Knights & Demons DX" is now available for download [URL="http://www.mediafire.com/?hbch…

    ... BASIC commands like [B]PRINT[/B] and [B]CLS ... board updates are still quite fast during battles).

    asm
    ld a, i ; ... before returning
    end asm
    end sub[/CODE ...
    Einar Saukas Einar Saukas August 2013 Development
  • Compiler conventions for passing args/return valuesI've been mulling over this for a while, but I can't spot it covered anywhere. There are various methods for passing args and return values between …

    ... describe below. It allows z80 asm code to call C libraries ... any chars from stop. An asm programmer can make use of ... , buffer, 10); // write score in decimal


    == is translated ... CALLEE linkage results in small, fast code. You can also see ...
    Alcoholics Anonymous Alcoholics Anonymous September 2013 Development
  • ANN: SP1 for Z88DK (aka splib3, Sprite Pack v3.0)Well it's finally arrived, after a month of "a few days from now" release deadlines. SP1 is the lastest version of splib, a flicker-free software sp…

    ... can incorporate both C and asm, so pretty much anything goes ... treated the same. You can print or write bytes the same ... at typing and computers are fast at printing.

    ANYWAY ... can use sprintf(), eg, to print text to a 0-terminated ...
    Alcoholics Anonymous Alcoholics Anonymous November 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ... /> [quote]
    You can print strings to the screen on ... the background, but can you print numbers?[/QUOTE]

    print scores with leading zeroes ... brief routines to do decimal to ascii conversion. It ... very easy to wrap asm inside a C ...
    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…

    ... .ASM
    ; print a very long binary number as a decimal< ... br /> ;convert octal to decimal
    ;d from o( ... br /> ;multiply cumulative decimal total by 8
    ... Marker ;reached LHS of decimal number?
    jr nz ...
    Battle Bunny Battle Bunny 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…

    ... ASM
    ; print a very long binary number as a decimal ... 0 ;initialise 1st digit of decimal number

    ;convert octal to decimal
    ;d from o( ... a,(hl) ;.... multiply cumulative decimal total by 8
    ...
    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…

    ... ASM
    ; print a very long binary number as a decimal ... /> ld de,$ffff ;DE=decimal LHS address (MSD)
    ...
    ;convert octal to decimal
    ;d from o( ... a,(hl) ;.... multiply cumulative decimal total by 8
    ...
    Battle Bunny Battle Bunny December 2013 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…

    ... defeats the goal of being fast. And you can't ... [code]
    __stdio_scanf_sm_decimal:

    ; DECIMAL NUMBER STATE MACHINE
    ;
    decimal digit?
    jp nc, ... 20,000 lines of asm in the past three ...
    Alcoholics Anonymous Alcoholics Anonymous February 2014 Hardware
  • TAPlist - the emulator versionI've got this working reasonably well; there's just a couple of small extra features which I want to add. (Recall that TAPlist writes a formatted lis…

    ... to assembler, but it's fast enough.

    ... .uk/~jg27paw4/pourri/taplist-mc.asm[/url]

    ... 6)))):
    STOP:
    PRINT "no code":
    STOP:< ... br /> PRINT "bad margin":
    STOP:
    PRINT "bad tabstop ...
    Battle Bunny Battle Bunny April 2014 Sinclair Basic
  • Running out of fingers in AssemblyDear all, Still trying to learn Assembly and have put a few routines together. However, as my routines become a little more involved I find myself…

    ... [/url] with thousands of z80 asm functions; look for familiar & ... you want the number in decimal, radix=16 for hex, etc ... the division first making it fast without register restriction. That's ...
    Alcoholics Anonymous Alcoholics Anonymous September 2016 Development
  • Code optimisation! 16bit number to 5 digit stringJust for interest this one, any thoughts on how to make this as fast as possible? Little optimisations to this routine or a complete reimagining? …

    ... ="gp2000;888843"]BCD stores 2 decimal digits per byte. Mysterion is ... talking about a single decimal digit per byte. That will ... you want to print. The adding is still reasonably fast, though, as ...
    Mysterion Mysterion December 2016 Development
  • c compiler benchmarkingI am going to have access to a number of commercial z80 compilers for a time for benchmarking, namely Hitech C v750 MSDOS (abandoned when Hitech was …

    ... mean some bespoke set of asm routines.

    An msx ... spectrum, the engine must be fast so a lot of functionality ... lower level. You have to print and erase like you do ...
    Alcoholics Anonymous Alcoholics Anonymous March 2017 Sinclair Miscellaneous
  • 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 …

    ... libraries (or user supplied asm) in the 10-20% ... functions) is written in asm including things like the sprite ... is such a thing as fast enough (like Sol's ... useful just like pure asm is when written by ... terminal, you could instead print an ansi sequence to clear ...
    Alcoholics Anonymous Alcoholics Anonymous May 2017 Development
  • z88dk sp1lib with fzxThe numbers dont seem to display properly? fzx by itself works [quote] // for targets supporting fzx // zcc +zx -vn -startup=31 -O3 -clib…

    ... choice if you want fast printing like for scores ... that uses sp1_PrintAtInv() to print individual characters of a ... pietro_bros/src/dc45922ba10ebb415c1326371e3e06c07602ea98/pietro_zx.asm?at=master&fileviewer ... file-view-default#pietro_zx.asm-110"]prints string ...
    Alcoholics Anonymous Alcoholics Anonymous June 2017 Development
  • A Neat Redefine Keys RoutinePreviously, I’ve only shared this routine with a couple of people via PM, but I’ve now decided to make it public. I optimized it for size, so it uses…

    ... more useful to have a fast key-polling routine and a ... of the ASCII lookup to print the key during the definition ... ="http://skoolkid.github.io/rom/asm/0205.html"]KEYTABLE_A[/url] - I ...
    colonel32 colonel32 October 2017 Development
  • Proportional-width fontsFor reasons that are still not quite clear to me (because I’ve always loved typography and design,) I never bothered to write a proportional-font rou…

    ... -- not enough registers for reasonably fast and thread safe implementation, as ... -is, it will simply not print an individual character that will ... /font/fzx/zx/z80/asm_fzx_putc.asm"]here[/url] and the structure ...
    Alcoholics Anonymous Alcoholics Anonymous January 2018 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…

    ... = score + 10;

    #asm
    halt
    #endasm
    Then we print the score right after scrolling ... mean, this function is only fast because it cuts corners? ... = score + 10;

    #asm
    halt
    #endasm
    Timmy Timmy September 2020 Development
  • How to disable the "scroll?" message?Hello. I'm a beginner Z80 assembly programmer and I decided to make a ZX Spectrum game to practice my skills and gain some more experience. I curr…

    ... ="Crisis;992784"]oops, to fast, you say in MC and ... NExt message will over print that LOWER screen part< ... --tap --name printloop printloop.asm printloop.tap printloop.symbol


    ; Print text on screen
    ; FB ...
    Kotek Kotek June 2022 Development
<1234567…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
fast 10.8K 12.3K
decimal 853 1.3K
print 8.5K 20.4K
asm 3.8K 6.7K

Related Threads

  • How to print with colour using DiscipleHi!<br /> <br /> I was wondering if there is any way of printing in colour using the Disciple. I am using an Epson Stylus 600 Printer with one of my …
  • Jet Set Willy - fast versionDownloaded this from Andrew Broad's site. It behaves strangely on rooms with a rope - rope is invisible &amp; you're carried almost the whole width o…
  • Sinclair User: Blue Print Double DragonI'm not sure what issue the Blue Print of Double Dragon appeared, I think it was issue 78 (September 88)<br /> <br /> Even a scan would do. Cheers
  • FAST adsHiya<br /> <br /> Does anyone remember the FAST (Federation against software theft) ads that came out in the late 80's and early 90's. They were hila…
  • 42 column text, Sinclair Print Utilities, etcI'm currently developing the next of the ZXIF text adventures - "43 Minutes" and, as a side issue, I'm really interested in 42 column text for this g…
  • Print 'n' Plotter SPRITE MACHINEJust got this from an ebay seller this afternoon. I just TZXd it and sent it to the Steve at the vault, yet it might be a while before it gets put up…
  • FAST PIXEL DRAWINGI'm looking for the fastest way to put a pixel to the screen (on spectrum ofcoz:). Here is my own procedure (written in PASMO). But I don't how do it…
  • I need ASM for random numberI need to generate a random pair of coardinates in asm so that x=random no between 0 and 31, y=random no between 0 and 23.<br /> <br /> Any ideas on …
  • Smooth Color Masked Sprites using fast page flip on 48kHere is a quick demo of using char based sprites using the Page flip method:<br /> <br /> a) Background is copied to buffer<br /> b) Sprites drawn on…
  • Smooth Masked Sprites using fast page flip on 48k Part 2Ok,<br /> <br /> After all the suggestions in Part 1, which were all excellent (Thankyou), I opted on the following:<br /> <br /> I have 2 x 6k Offsc…

Related Searches

  • fast loader
  • print a char in asm
  • asm draw character
  • circle in asm
  • asm examples
  • asm
  • asm zx7
  • http clrhome org asm
  • print variables
  • fast multiplies
  • asm tzx
  • asm text print
  • print byte decimal
  • proportional print fast
  • fast print routine
  • fast print character
  • poke print fast
  • fast basic print
  • fast print basic
  • fast print

Copyright © 2024 World of Spectrum