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.198s
<1…28293031323334>
  • Dim commandI try o find a BASIC COMPILER for ZX SPECTRUM 128 that use DIM command with two or more letter as 10 DIM AB(10) instead of 10 DIM A(10) Any iforma…

    ... ;407056]I play with a function which workname is WCHOICE, with syntax LET ... have to have a fixed number of parameters in a function. However, you ... can hook a function into a machine code routine (BetaBASIC does this) and it ...
    chev chev December 2009 Sinclair Basic
  • Skooldaze TooDear WoSsers, Thanks to Skoolkid's disassembly I'm attempting to write a new "improved" version called [B]Skooldaze Too[/B]. As part of the improvem…

    ... 't done anything about this as many languages would ... point in the past. Easily fixed.

    [QUOTE=FrankT ... . The peashooter routine has been rewritten (and with a minor change you ... to give different instructions... This version also shows that sprites ...
    Jimmy Jimmy January 2010 Development
  • Help fix this keyboard read program?This code runs in an interrupt routine with DI. What would be the simplest way of making it so it doesn't auto repeat a keypress? [code]keys: ld a…

    ... state_data_structure
    ld a,(hl) ; always return with a = state
    with a=current state
    ret ; else remain in this ... routine always returns with a program-friendly state number in A. In this ... />
    I also fixed the situation where both left ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Development
  • How do you destroy an enemy or object?Hi guys I allways wanted to know this, but how would you go about making and destroying enemies in basic or any language? What, do you use a huge ar…

    ... I would use a fixed size array and not bother with malloc and ... as possible outside the game loop. The z88dk malloc implementation is ... to use.

    However this will take some work and ... movement. That will work well with boriel's basic compiler if ...
    Alcoholics Anonymous Alcoholics Anonymous February 2010 Sinclair Basic
  • How do you destroy an enemy or object?Hi guys I allways wanted to know this, but how would you go about making and destroying enemies in basic or any language? What, do you use a huge ar…

    ... games that can be written with a generic library of some sort ... colour clash graphics; it accomplishes this by manipulating attributes only and ... time was consumed by a wait loop yo perform that swap ... lines, print text etc in fixed size cpu cycle lengths that ...
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Sinclair Basic
  • My first platformerHi all! How do you do? Been lurking here for a while, but never had the courage to join the forum. :) The Speccy was my first computer, so I've alw…

    ... in size. Additionally, sp1 is a very memory hungry sprite engine ... . Not wasteful mind you, just a result of several design choices ... simply change the border with a C routine like this:-

    [code]
    Alcoholics Anonymous Alcoholics Anonymous March 2010 Development
  • Machine Code Routine of the weekHow about a thread that has a routine each week that is in [B]assembly language[/B] and is also described in great detail what the hell is going on …

    This is a small self-contained Print routine that doesn't rely on ... p_main section of the code with a corresponding reduction in size and ... printed.

    [CODE];Call Routine with HL pointing to the start ... and 15
    jr p_start ;loop back to do it all ...
    Turkwel Turkwel April 2010 Development
  • Sinclairean A3[B]Sinclairean[/B], a new ZX Spectrum emulator written in machine code for x86-compatible, OpenGL-capable computers. Features: [LIST] [*]Fast machin…

    [QUOTE=Arjun;438547]Tried this on my Asus 901 and ... cue was actually shown, together with a frame counter when pressing F8 ... lost when the pause routine was moved. Fixed soon.

    [QUOTE ... solved when the real audio routine is implemented.

    ...
    Madonna Mk 2 Madonna Mk 2 April 2010 Emulators
  • FMV on +3eOK, so about 6 months ago i posted here that i got full motion video on +3e, with a bunch of scr files called passion. I added the glider rider music…

    ... and muxing with the vid - take a look at ... yeah the Honey Honey playback routine is nothing special. It ... OUT (49149),A
    timing loop
    LD A,(HL)
    ... second edit that routine is playing a sample only every ... HOW DO YOU MAKE THIS SOUND SO GOOD MATA? ...
    nuggetreggae nuggetreggae April 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... be used by either replacing the value of 23606 ... or by setting HL directly with the address of the ... with what's already on the Screen,
    ;this ... to Invert the mask with a CPL so we can ... this is meant to be a general PRINT routine, not a Sprite routine, ...
    Turkwel Turkwel June 2010 Development
  • Noise channels on AY-3-8912?I'm trying to reproduce a tune that's a jazzed-up version of classical music - i.e. there are drum beats all over the place, to try and mask the low …

    ... in BASIC, using tone channel A:
    [CODE](pseudocode)
    ... CODE]

    Unlike with an infinite loop of BEEP statements, the ... telling an interrupt-driven AY routine to rewrite unaltered data ...
    Has anyone else seen this effect before? Is it an ...
    ajmoss ajmoss June 2010 Hardware
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... limitations, potential problems, etc), and this knowledge can be useful only ... all.

    Fill memory routine I've provided is very ... provided in HL and DE, with length of the block in ... not corrupts A:

    [code]loop
    ld a,(hl) ;get a value ...
    Shiru Shiru June 2010 Sinclair Basic
  • 'Hello World' in ASM ?Can someone show how to make the classic 'Hello World' print with ASM code ? I cant figure at this moment how to insert and handle strings with the s…

    ... />
    Printing through a ROM-routine is done with RST 16

    this:

    [code]
    ld a,2
    loop ld a,(hl) fetch next character
    Dr BEEP Dr BEEP June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... br /> Easiest routine will be with these features:
    a,a
    add a,a
    add a,a
    dec a
    dec a ... br /> middle ;this loop draws all the lines ... ;DOWN_HL+ routine by Spencer Winsent
    ;this routine returns address ...
    Shiru Shiru June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... required to set a color. The color in this routine is defined ... by A register before call only ... to make a version with ROM routines. If you want a routine which uses ... position (always draws in the fixed place) and don't need ...
    Shiru Shiru June 2010 Sinclair Basic
  • Howto paint a squared zone of the screen ?You know what guys ? i begin to love this languaje. Cant understand why not put more effort on the 80's to learn it :( because it is really speedy. …

    ... />
    ld a,h ;this piece of code doing ... br />
    middle ;this loop draws all the lines in ... br /> ;DOWN_HL+ routine by Spencer Winsent
    ;this routine returns address of ... if I'll make a routine with custom print, it ...
    Shiru Shiru June 2010 Sinclair Basic
  • Hypothetically....If you were putting together a "Spectrum +4" what presently available hardware would you include. My criteria would be total comparability (or as ne…

    ... but needs to be fixed for the laser. Fixed is exactly the ... far too complex to make with a hammer. So all I do ... course this will require unplugging one set of wires and replacing with the ...
    ADJB ADJB June 2010 Hardware
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... Sadly, my first shot with the routine failed spectacularly. It drew ... the moment) and added a loop to the front and ... AF and exit Print routine
    ;[this can be removed ... with what's already on the Screen,
    ;this ... to Invert the mask with a CPL so we can ...
    Turkwel Turkwel June 2010 Development
  • Hi Res Print Routine neededHas anyone seen code for a print routine with pixel accuracy? That is print(y,x,CHAR) that allows 0 < y < 192 and 0 < x < 255 - that takes a charact…

    ... your code as is (with a couple of very minor tweaks ... as a ZX Basic subroutine :)


    Edit: Fixed ... off how nicely this works as a basic call-able ... /> PRINT at 10,10;"Routine 1 (Big K)"
    ... br /> PRINT at 10,10;"Routine 2 (Turkwel)"
    time ...
    Gedlion Gedlion June 2010 Development
  • A question about M1 cyclesI'm writing an interrupt routine that, after the usual register pushes, will jump to a location of my choice with a [b]JP (IY)[/b] instruction. If I…

    ... you can keep the interrupt routine in a memory area that isn ... QUOTE]

    The interrupt routine and IM2 table will reside ... avoid screen flicker. This means that pixel scrolling with [b]rl (hl ... and again in an infinite loop.[/QUOTE]

    The ...
    ajmoss ajmoss July 2010 Development
  • Ziggy 0.4The latest version of Ziggy is now available from the same link as before i.e [URL="http://ramtop.wordpress.com/"]here[/URL]. I've made changes to t…

    [QUOTE=Arjun;454348]This has been fixed in the current I'm ... CPU on a Win 7 setup. This is still a lot more ... give me a very convincing argument for threading the rendering routine separately ... I have zero experience with writing threads this may well take some ...
    ccowley ccowley July 2010 Emulators
  • WIP: Another demoIt's a couple of months already since I've released something, so I thought it's fun to show a demo of the thing I'm currently working on: [url]http…

    ... delay routine too. Assuming you haven't done anything with the ... main loop as the ROM interrupt routine increments this byte (I usually put a ... you checked, don't bother with a delay. If they haven't ... the most efficient routine by any means, and with a bit of ...
    jonathan jonathan July 2010 Development
  • Message to all programmersHello folks, more and more programmers in the recent time are using special loading routines for their Homebrew-Software. This makes their game runn…

    ... you need permission to do this? I thought that by releasing ... effectively saying "You can play this on anything you like, load ... into the game's loading routine, it's still something that ... Infection with a "take back move" feature hacked into it, to bug-fixed ...
    ewgf ewgf August 2010 Development
  • Mr Do! ?Not exactly a new idea (at least twenty-seven years old now :-o), but how about a port of Mr Do! to the Spectrum? There was never an official one, ev…

    ... need to scroll vertically. This requires a buffer of 38*32 ... 96T (24*4) uncontended. Therefore a loop containing 40 (16+24) 4T ... 192 iterations of the sound routine. Better still, 4 T ... development right now, including this one, with literally thousands of sheets ...
    ajmoss ajmoss August 2010 New game ideas
  • Mr Do! ?Not exactly a new idea (at least twenty-seven years old now :-o), but how about a port of Mr Do! to the Spectrum? There was never an official one, ev…

    ... need to scroll vertically. This requires a buffer of 38*32 ... (24*4) uncontended. Therefore a loop containing 40 (16+24) 4T ... 192 iterations of the sound routine. Better still, 4 T ... development right now, including this one, with literally thousands of sheets ...
    ewgf ewgf August 2010 New game ideas
  • Pretty CrashesTo make a 48K spectrum crash spectacularly and beautifully enter the following into basic. Also works on a 128k in 48k mode though not quite as prett…

    ... jumps directly into the save routine. Whatever the value of the ... what the spectrum is "saving". This will inevitably be somewhere in ... I once wrote a program that would loop firing off sub routines ... and run it with a higher starting value. I did this to see ...
    Scottie_uk Scottie_uk September 2010 Sinclair Basic
  • Location of variableHi everyone When basic makes an array how to you find out the location in the ram of where the data is stored. :) Also, does it store the values in…

    ... of my programs, of a routine which searches the VARS area ... for a named string array. It ... from memory in BASIC is a bit tricky.

    ... 4 DEF FN p(a)=PEEK a+256*PEEK (a+1)

    3000 REM FIND A STRING ARRAY NAMED IN o ...
    Battle Bunny Battle Bunny September 2010 Sinclair Basic
  • New oneliners for 2008[INDENT][INDENT][INDENT]Here's my attempt at a first-person-perspective 3d game in one line of BASIC. It's called 'wormhole', and you've got to get t…

    ... [/url]

    Technically, this new one-line game [B ... logic from Conex?o in a single loop to save space. Here ... could save an extra position replacing this:

    [CODE]
    ... 13:
    [/CODE]

    with this:

    [CODE]
    ...
    Einar Saukas Einar Saukas September 2010 Development
  • Help! Reverse engineering a Spectrum game[deleted]

    ... these "libraries" may be realised with 2 or 3 instructions or ... and multiply routines
    [B]A loop in the code without any ... />
    12 - A fast sprite routine, that is; optimised for fixed size graphics ...
    Ralf Ralf October 2010 Development
<1…28293031323334>

Latest Posts

  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on 12:41AM
  • i am currently listening to........
    dmsmith on April 15
  • I am currently watching.....
    zx1 on April 15
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 15
  • Cooperative Games.
    harriusherbartio on April 15
  • Celebrity deaths...
    mel the bell on April 15
  • Minor British Sports that did become games on the ZX Spectrum
    dm_boozefreek on April 15
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 15
  • Inside No.9 favourite episodes
    Maroc's Other Projection on April 15
  • How we became brainwashed by social media
    Scottie_uk on April 15

HitBox

Word Docs Hits
replacing 2.1K 2.3K
this 252.3K 398K
routine 9.5K 14.8K
with 272.1K 442.3K
a 589.5K 1.7M
fixed 9.2K 12.9K
loop 4.8K 8.5K

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…
  • This is what you get when you cross a trike with a tank......and I so want one!<br /> <br /> [img]http://upload.wikimedia.org/wikipedia/commons/6/6e/NSU_Kettenkrad_36PS_1944_1.JPG[/img]
  • im looking for a basic routine that adds a numerical character to a stringim looking for a basic routine that adds a numerical character to a string. so a=1, "1", then a=0 "10", then a=1 "101......" and so on
  • 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…
  • BC Bill does this game work with a emulator?Can anyone get this game running with a emulator. I get as far as the main screen but can't start the game
  • Need help finding a game name No.453 (but with a slight difference)A mate of mine asked me to help him track down an old PC game. Ive been to several PC game forums and asked for help but they dont seem to care about…
  • What is this game? (with a difference)Hello chums...<br /> <br /> Seeing as the "what is this game" and "guess the game" posts are proving popular, have a look at my slightly warped versi…
  • !Warning Vapourcompo! A BASIC competition with a twistI have an Idea for a Games compo with a twist,<br /> <br /> 1. BASIC because I don't Know Machine Code (selfis reason I know :) )<br /> 2. The actual…
  • Cruiser Power play and a game with a forgotten name problemI have a cruiser power play joystick connected to a +2B but i don't know how to identify it (kempston, cursor, interface 2 ... ) <br /> The other is…
  • Someone with a +2A and a digicam?Hi guys,<br /> <br /> I need a bit of a favour from someone who has a +2A and access to a digicam.<br /> <br /> I'm needing a picture of the inside o…

Related Searches

  • fastest screen routine
  • screen routine
  • this is the conspiracy
  • games with bugs
  • print a char in asm
  • divmmc 3 a
  • testing a microdrive
  • im1 interrupt routine
  • a message to all the devs in this section
  • with a little persistence
  • ld a b xor c loop
  • ld a b or c loop
  • this is actually a new 128k ay idea not game
  • delay routine loop
  • keyboard read routine in fe a
  • choose ay channel with a poke
  • loading a routine in paw
  • stuck in a time loop
  • i cant get this working at all tried in 3 grey 2 s and a 128 using an mp3 car adapter from my pc always loads to the end then strange lines over mojon twins logo it resets
  • need help from people with a 2a_ 3

Copyright © 2024 World of Spectrum