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.551s
<1…19202122232425…34>
  • Pixel Color IncorrectHello i am new to the ZX Spectrum and z80 assembly language. I am coding my first game and am having a small problem. I am trying to make the botom r…

    What FrankT said.

    You can set the attribute for any combination by using the formula:
    attr = 128*flash + 64*bright + paper*8 + ink

    where, flash = 1/0 (on/off), bright = 1/0(on/off), paper = 0..7, ink = 0..7
    Arjun Arjun June 2011 Development
  • Kobrahsoft DB1 - doesn't work?Hi, I've tried loading [URL="http://www.worldofspectrum.org/infoseek.cgi?regexp=^DB1$&pub=^Kobrahsoft$&loadpics=3"]DB1 by Kobrahsoft[/URL] into two …

    ... REMs holding machine code and a PRINT USR 0 followed by what may ... know anything about until I read [url=http://www.worldofspectrum.org ... a real +3? - because that's what the R-register is getting set to at ...
    Battle Bunny Battle Bunny August 2011 Sinclair Miscellaneous
  • Unlisted game - The Battle of MaidaI've just moved back the the UK and unearthed a game called "The Battle of Maida". I really loved this game back in the 80s and I believe a friend of…

    ... /> to 8-bit mono @ 44100Hz:

    It'd be best to sample at ... "S.C.JACKSON. 1985", that was easy to extract, but the rest...:sad ... 2 wanted blocks, but that means
    this is a "development" copy? Line ... , with the common values 0,1 and 2 declared as ...
    lfaria lfaria September 2011 MIA/STP/SDP
  • User Defined GraphicsCan someone please give some very simple code for a displaying a UDG at a location on screen? Any assistance would be greatly appreciated. Sincerely…

    ...
    For UDG graphic is reserved 21 chars (8x8 pixels ... FOR F=USR "a" TO USR "a"+7:READ B:POKE F,B ... br /> 30 PRINT AT 10,10;"a"

    Char "a" in line ... PRINT AT 10,10;CHR$ 144)

    UDG font size is ... 168 bytes(21 chars x 8 bytes each ...
    velesoft velesoft September 2011 Development
  • TZX format rev. 1.21Once 1.20 draft seems to be official now I would like to suggest some additiones to do on 1.21. I hope it will be easier to upgrade once block 19 has…

    ... a new routine to print that field to screen.

    All those tasks are easy ... info logic routine is already done into ... /> Case H Of
    0: ListBox.Items.Add('Title - ... Add('Protection/Loader');
    8: Details.Add('Origin');
    ...
    Juanma Juanma October 2011 Emulators
  • MCODE problem...Hi Folks, Trying to write a simple machine code program to hatch the screen. So far I have the following but even this is not working - it does not…

    ... can see that we need to switch from AA to 55 exactly ... test if we use the 8-bit (byte) INC mnemonic ... because 8-bit INC sets the zero ... )
    4) INC L is faster than INC HL and ... trips back to 0 then we get a chance to manually INC H at the ...
    BloodBaz BloodBaz October 2011 Development
  • SP1 library questionsI'm working on my first game. I've not written a game since the late 1980s and that was a text based multiuser dungeon for BBC Micros with econet... …

    ... not you will have to construct a rectangle that is the intersection of ... of 32x24 is mapped to the screen at char coordinate 0,0 etc). Without ... , move sprites to new locations, redefine tiles, print new tiles and ... be used as an easy way to create pop up menus ...
    Alcoholics Anonymous Alcoholics Anonymous October 2011 Development
  • AND,XOR,OR,BIT,RES,SET,CPL,NEG,RLC,RRC,SLA,SRL,RL, RR,SRA for BASICAs this was drifting away from the original INKEY$ thread I thought that I'd create a new one. So here's a routine to provide all of the above mentio…

    ... a rather complex expression, as for drawing a sprite with a mask it is ... data (the 8 pixels to draw at this position). msk is the sprite mask ... bits 0 let the corresponding pixel in the background to show up (that is ...
    mcleod_ideafix mcleod_ideafix October 2011 Sinclair Basic
  • fav spectrum charactermy fav spectrum character is called dizzy

    10 PRINT AT 0,0; CHR$ 134; CHR$ 128; CHR$ 137

    either 134 or 137 :-(

    in our day we had no sprites and were lucky to get a UDG
    fog fog October 2011 Games
  • Mazes and Tremaux's AlgorithmI've done a version of Tremaux's maze solving algorithm which solves my current test maze with 400 junctions and 715 connections in a reasonably quic…

    ... point.)

    Below is the reverse search segment, although ... location 'sa' to location 'so'; u$() is populated earlier with ... gets a route where all the required key items on that ... /> 1214 PRINT AT k3,k0;"Depth=";jp,"Checked=","From=","To=": LET ht ...
    Battle Bunny Battle Bunny November 2011 Development
  • Create a new microdrive cartridge image formatHi there, I'm working to emulate the IF1+Microdrives in JSpeccy.I've found what the "classic" MDR format ins't capable to store all the required inf…

    ... is another history that needs another "brick" message ... easy convert MDR to MDV at reading time, another different matter is saving a ... . Moreover, is possible to read a 180 sectors ... VERSION to #GAP ENTRIES, first 8 bytes not ... GAP is a byte value where [b]0 is NO ...
    zx81 zx81 December 2011 Emulators
  • Noob needs helpSorry gents but decided to have a play with basic...see if I could knock up a shonky as hell space invader type game I seem to have gotten myself co…

    ... /> Currently experimenting with trying to put some UDGs in....but ... this Send command referred to in the help ...
    10 LET y=8 :REM initialise y
    ... br /> 40 PRINT AT 0,0;y;" " :REM Just to print the value ... of y (obviously)
    50 GO TO ...
    SKR SKR January 2012 Sinclair Basic
  • Faster CLS...Hi Folks, Looking at the CLS command in the Spectrum ROM disassembly it seems rather complex. Does anyone know of a simpler/quicker routine that wi…

    ... working which is a bit strange. May be this is a "feature" of that emulator ... . I was hoping by having a faster ... , if you want to reset the print position, just do "PRINT AT 0,0;" From Basic ...
    SKR SKR January 2012 Sinclair Basic
  • Which Speccy game had best border effectsIn truth, I'm just trying to remember a game from my youth, and the amazing border effect during pause is the only thing I can clearly recall about i…

    ... at exactly the same time every frame, which isn't as easy ... instruction was a HALT, that works like a lot of ... instructions, but that in itself is very hard to test. ... 8 pixels.[/QUOTE]

    Well, it is possible to ... cz/taps/misc/timingtest-0.2.zip"]timing ...
    Patrik Rak Patrik Rak January 2012 Games
  • IF....AND......THEN statementsSorry...more questions Now initially I thought this should work....but now thinking about it it is doomed to fail as if the player's x co ordinate a…

    ... THEN PRINT a$" would only display a$ onscreen if a+b is not equal to 0. If a ... ) if a is indeed 1, and "0" (false) if it's not. That is the ... a is 0, and "0" (false) if a is non-zero. It's a brain-bender at first ...
    Dunny Dunny February 2012 Sinclair Basic
  • Reading interface 2 using the IN commandHow do you read using the IN command from BASIC? You can read multiple keys at once, but I cant remember the values...

    ... /> 10 print at 0,0; in 61438,: go to 10

    Run that program, press ... like to use a variable to read the row and then create a routine that handles that ... error message caused by invalid cordinates:

    Let a=(-1 and a ...
    zxbruno zxbruno March 2012 Sinclair Basic
  • Another BUG play tapes, in ALL EMULATORs when press STOP1 FOR n=1 TO 20 : PRINT IN 254 : NEXT n : PRINT AT 0,0 : GOTO 1 RUN Type this simple code, load a TZX, pres PLAY, when ear input change between 191 …

    ... n=1 TO 20 : PRINT IN 254 : NEXT n : PRINT AT 0,0 : GOTO ... stop, the input need to be 191, not 255 ... value the tape player is feeding to the ULA when it ... There's no guarantee what that will be - it might ... If you're writing a loader for a Spectrum, making it level ...
    Philip Kendall Philip Kendall March 2012 Emulators
  • countdown timer ?just curious if there was a pre-made one about that I could use to count down from 999 to 0. in MC / under interrupt, that returns to basic? but how…

    ... how that Alarm Clock routine could be used to count down from a ... single 'start' number and jump to ' ... br /> PRINT AT 0,0;hr*24+mi*60+se;" ":
    GO TO (PEEK 23621 ... the next line number, so that will work regardless of which ...
    Battle Bunny Battle Bunny April 2012 Sinclair Basic
  • Turn UDG to Attrribute blocksI'm trying to enlarge my UDG's to 8 x 8 character blocks per pixel, but struggling, is there any subroutine/program for enlarging UDG's x 8?

    Umm. That's not exactly what I ... 0..15. It seems to me a waste of time devising a complicated loop to ... /> [CODE]PRINT AT 0,0;
    LET u = USR (u$)
    FOR b = 0 TO 7 ... l = p-(h*16)
    PRINT b$(h+1) ; b$(l ...
    joefish joefish May 2012 Development
  • How much space does a number take?Hi Folks, Could someone please remind me how much memory a number takes up in a BASIC listing. For example, if you had: [CODE]100 LET a=3000[/CODE…

    Here's a little program to list the length (excluding the 4-byte header and the trailing ENTER) of each BASIC line in the selected range.
    [code]
    9990 DEF FN p(a)=256*PEEK ABS a+256*PEEK (ABS a+1)-255*PEEK (ABS a+(a
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 'Spectrum Play' ErrorI always wondered why the screen sometimes filled with 'SPECTRUM PLAY' if I loaded a 48k game in 128k mode (using my 128k+2B). Colditz Story in parti…

    ... PRINT AT 0,10;"Hello World"
    20 POKE 23606,1
    30 PRINT AT 0 ... ago I wrote a demo which displayed text to a story by fading ... in/out the colours to get like a film credits effect. When ... the story got to an earthquake ...
    marmite marmite June 2012 Games
  • What is the best way to detect CAPS LOCK?Hi Folks, Not sure what the correct behaviour is here as I do not have access to a real Spectrum. Under BASin, when you press CAPS LOCK on the PC k…

    ... 0
    120 PRINT AT 21,0,,
    130 LET a=PEEK 23560
    140 PRINT AT 0,0;a ... ,CHR$ a
    150 POKE 23560,0
    160 GO TO 100 ...
    Paddy Coleman Paddy Coleman July 2012 Sinclair Basic
  • Work out attribute location in MCHow do I go about writing a MC routine which calculates the attribute address from a set of PRINT co-ordinates. I know you in basic you multiply the…

    ... load a 16bit, that is two byte, value from 60000. The byte at 60000 ... need is:
    LD A,(60000)
    LD L,A
    LD H,0 ...

    To get the byte ... in the lower 8 bits ...
    csmith csmith August 2012 Development
  • INKEY$ giving me troubleHello, I have been using BASin (great program by the way...) Sad though it seems during the typhoon here I have been re-learning my spec-skills an…

    ... at the start of the program with POKE 23658,8 (on) or 0 ... long as the relative spacing is maintained. (FN c() returns ... at lines 35 & 107) then a check should be included to ensure that ... released before the second option is checked, because otherwise the key ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • Sending key presses to the spectrumfor a project I want to send automated keyboard presses to the ZX via a micro-controller. Is it possible to send these through the expansion slot? …

    ... row at a time.That means that during a keyboard read, only one bit of the 8 ... the data read from that 3-bit input is the row number (0 to 7 ... ).

    Better yet, use a 8-to ...
    mcleod_ideafix mcleod_ideafix August 2012 Hardware
  • .chr to .binSo here goes another stupid question. What's the best way to convert .chr files created with ZX-Paintbrush to binary or asm format? I know ZX-Blocked…

    ... which will print all 256 characters (without shuffling around CHARS, that is)?[/QUOTE ... BASIC has had support for 8-bit character set printing ... file in at 16384 for whatever code page you want to use ... [img]https://fbcdn-sphotos-e-a.akamaihd.net/hphotos-ak-snc7 ...
    chev chev August 2012 Development
  • Issue 2 headache!Ive got an issue 2 here that firstly had a blown regulator (fixed), now its reading as a 16k machine (its fully populated), ive replaced and socketed…

    ... of the other control lines that is not working (may be /CAS ... that the upper DRAM is not responding to the Z80 MPU at all, and that ... what the Z80 MPU is ... want to test
    20 LET b=PEEK address
    30 PRINT AT 0,0;a ...
    1024MAK 1024MAK August 2012 Hardware
  • BASin gets its (profile) sums wrong (sometimes)I often use BASin to time pieces of code, and I've found it to be useful, but I was testing a routine earlier, which took less than 2 seconds to run …

    ... BASinC v16r3 and it reports that it takes 11.3 seconds ... frames). This looks right to me as I measured it ... it took about 11 seconds to run.

    Profile ... /> [CODE]100:1 FOR R=0 TO 20 = 27,131 Ts
    TO 32 = 6.5 Frames
    101:2 PRINT AT 0,0;r = 8.4 ...
    Paddy Coleman Paddy Coleman September 2012 Emulators
  • Covering my tracks using OVERI've got myself in a bit of a mess again I'm afraid, the routine I have written is for 4 characters to move across the screen 2 spaces at a time in I…

    ... thus if moving rightwards a string of length l by ... it's just necessary to deal with the situation ... less than (s+l) print positions remaining on the line ... to the right-hand edge:

    LET p=32-c: PRINT AT 0 ... ,c;a$( TO z-(z-p AND p
    Battle Bunny Battle Bunny October 2012 Development
  • Semi-Dead Spectrum - Help RequestedI have finally got my hands on my two old Spectrums - neither of which work, but ideally I hope to get both of them working again. Spectrum number o…

    ... ULA, the 8 half-rows are connected to the high address ... row.
    To read the whole keyboard you have to read the inputs ... eight times each with a different ... address line is at 0v this pulls the input down to 0 signalling a "press ...
    guesser guesser October 2012 Hardware
<1…19202122232425…34>

Latest Posts

  • i am currently listening to........
    Paradigm Shifter on 12:26AM
  • Happy 40th Birthday to the Amstrad CPC464!
    dmsmith on April 16
  • Celebrity deaths...
    mel the bell on April 16
  • Cooperative Games.
    Paradigm Shifter on April 16
  • LONELY TZX files : software TZX'd on the online sites with NO ASSOCIATED DOCUMENTATION
    harriusherbartio on April 16
  • European Software Titles with an English version
    harriusherbartio on April 16
  • How we became brainwashed by social media
    Antiriad2097 on April 16
  • How Do You Categorize Your Speccy Software and Games?
    Antiriad2097 on April 16
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on April 16
  • I am currently watching.....
    zx1 on April 15

HitBox

Word Docs Hits
01320 1 1
print 8.5K 20.4K
at 189.3K 276K
0 940.2K 1M
paper 6.8K 9.8K
8 30.2K 46.2K
ink 2.5K 5.8K
a 589.5K 1.7M
message 20K 23.4K
that 402.8K 802K
is 368.3K 732.4K
easy 20.6K 23.2K
to 549.6K 1.6M
read 31.6K 38.6K

Related Threads

  • A clever method of using a single 8-bit register to be used for two things at a timeI don't know if this is the way the SAVE routine in the Spectrum works. Anyway, this is what I've learned today.<br /> <br /> I've been commented the…
  • Alternative to Poke 23659,0 to prevent a 'break in' to a Basic Program.Good morning everyone,<br /> <br /> My memory fails me these days but in the early days of programming I used to use Poke 23659,0 as a crude way of…
  • Is there a utility to read TRD disk images from a MB02+ ?I would like to know if anyone has ever come across to a utility that could allow you to load trd images on a mb02 without having to change any of th…
  • My god! How easy is it to fake a no claims bonus!! Not that I wouldI have recently renewed the Insurance on my car.<br /> <br /> The company wanted me to send proof of my no claims bonus in the envelope that I get in…
  • Is there any way to connect a zx spectrum to a modern PC ?Hello<br /> <br /> Is there any easy( I don?tknow anything about computing)way to connect a Spectrum to a modern PC?<br /> <br /> The same question n…
  • some debugger in emulators that is able to brakpoint when a mem address is accessed ?Is there a debugger (disassembler) available in some emulator that is able to stop (breakpoint) when a particular memory address is accessed ?<br /> …
  • 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
  • Is it possible to add a listing to a screen?I made this picture (see next message for link) deliberately in the bottom half of the screen hoping to be able to have another display in the upper …
  • is a arduino uno / nano fast enough to talk to a specie ?my current project is to load games onto the specie via SD card / Arduino uno / nano although i suspect that the micro controller will not be able to…
  • Is there a way to convert .AY to .MID file?actually, I need only note lengths, beginings and so on. I don't need any FX or speciality effects.

Related Searches

  • fix missing message at init
  • print a char in asm
  • is there a system test for the spectrum
  • is there a system test tape for the spectrum
  • how to do a tzx file
  • how to create a tzx file
  • how to make a tzx file
  • validate input is a number
  • if input is not a number
  • esxdos 0 8 5
  • a message to all the devs in this section
  • get a tzx file to rewind at the end
  • flash 128 bright 64 paper 8 ink
  • flash 128 bright 64 paper 8 ink attr
  • a message that is easy to read
  • 100 print at 0
  • does anyone know what a good beep combination is for sort of you can t do that sound
  • but yes it s technically brilliant i would really love to know the technique that sky ranger is actually using though
  • 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
  • print at 0 b 1 flash

Copyright © 2024 World of Spectrum