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.027s
<1…78910111213…34>
  • Machine Code noviceHi, I'm starting to learn machine code and wanted to know if you have to use some sort of program to write machine code? Thanks,

    ... /> I'm starting to learn machine code and wanted to know if ... sort of program to write machine code?

    Thanks,[/QUOTE]
    PRINT USR xxxxx command - you're ... assembly language into the binary code that the CPU runs.
    Matt_B Matt_B June 2006 Sinclair Basic
  • Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…

    ... block via BASIC (using the print command), the only other way ... pixel perfect alignment is via machine code as far as I know ... as simple as using a PRINT AT x,y;FLASH 1 ...
    Arjun Arjun October 2006 Development
  • Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…

    ... ).

    Of course that Print to desired (vertical) pixel pos ... can be simpler made in machine code than in Sinclair Basic.
    piters piters October 2006 Development
  • Font centering problemA while back today, I started coding a simple Othello/Reversi game in BASIC, with the precious aid of BASin (great tool, hope it eventually becomes b…

    ... 50 OVER 1
    60 PRINT 0;"12"
    70 ... SUB 180
    140 PRINT
    150 NEXT r ... PRINT 8;" 12"
    170 STOP
    180 LET pos=CODE ... NEXT i
    270 PRINT "(graphics A)(graphics B)";
    machine code.

    Forgot ...
    NotFound NotFound October 2006 Development
  • Graphics in Basic??What is the fastest way to draw high rez graphics in Basic. Andrew.

    ... you can combine simple machine code with basic programming, but ... UDG SET1
    110 PRINT AT y,x;"ABCDEFGH"< ... br /> 120 PRINT AT y+1;"IJKLMNOP"< ... br /> 130 PRINT AT y+2;"QRSTU";< ... /> 160 PRINT AT Y+3,x;"DEFGHIJK"
    [/code]
    ...
    Scottie_uk Scottie_uk October 2006 Development
  • How to save TZXGreetings to all. I am starting to move on from just games into some testing of home made programs. Although I could have done that in ancient tapes…

    ... how to hide the name print on screen so that the ... and positioning the print cursor strategically (e.g. PRINT AT 7,0 ... $ 0+"Game"

    Will print Program: as normal but then ... small loader which loads the machine code without requiring a header first ...
    BloodBaz BloodBaz October 2006 Emulators
  • Oh so BRIGHT!What is the SLOWEST way to change the attribute area to BRIGHT? It has to be legit! No meaningless instructions or doing stuff for the sake of it. …

    ... as well:

    [CODE]
    10 INPUT "Enter Y Co-ordinate ... GO TO 110
    30 INPUT "Enter X Co-ordinate: "; x ... IF y>21 THEN PRINT #0; AT y-22,x ...
    monty.mole monty.mole November 2006 Development
  • Problem with SPIN assemblerCan anybody tell me why the following machine code program doesn't assemble in the SPIN assembler? ; my first machine code program ld bc, 5 ret Any…

    ... good book on machine code from WOS (Spectrum Machine Language for ... print it out, download SPIN and start coding my own machine code ... thank whoever scanned the machine code book mentioned above, plus ... to do for years - learning machine code!

    Cheers ...
    BigBadMick BigBadMick January 2007 Development
  • help needed...Hi there, i'm trying to figure out a possible typo in William Tang's 'Spectrum Machine Language for the Absolute Beginner' on page 23 there's a prog…

    ... listings and code using the "code" tag, like so:

    [code]
    100 REM decimal to hexdecimal conversion
    110 print ?Input decimal ... value??
    120 input n: print n
    ... =n2:goto 135
    [/code]
    Arjun Arjun February 2007 Sinclair Basic
  • help needed...Hi there, i'm trying to figure out a possible typo in William Tang's 'Spectrum Machine Language for the Absolute Beginner' on page 23 there's a prog…

    ... />
    [CODE]100 REM decimal to hexdecimal conversion
    110 PRINT "Input decimal ... value..."
    120 INPUT n: PRINT n
    130 ... /> 160 IF n2=0 THEN PRINT : PRINT "Hexdecimal =0";s$;"h": FOR ... n=n2: GO TO 135[/CODE]
    Matt_B Matt_B February 2007 Sinclair Basic
  • Minigame Compo 2007Hi there, also this year, there'll be a minigame competition, open to all 8-bit computers and consoles. It consists on writing games whose size (…

    ... /> 0 RANDOMIZE USR xxxxx: REM machine-code

    Since this ... this?

    0 PRINT USR xxxxx,"CODE"

    and ... then place your code on the comma.
    Seems ... to work with my code, might also work with RANDOMIZE ...
    Dr BEEP Dr BEEP February 2007 Development
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ... : let y:11
    20 print at y,x; "K"
    machine code to do it. It is ...
    48K 48K March 2007 Sinclair Basic
  • Getting scr addresses from x and yCould someone please tell me how to calculate the 8 screen addresses corresponding to a character printed in basic at coordinates x and y? For examp…

    ...
    I've written a machine code that can
    a) handle ... Cheers,
    Chris.

    [code]
    org 40000
    ; getaddr ... defb 0 ; x character position (input; 0-31)
    y ... defb 0 ; y character position (input; 0-23)
    dst defw ...
    BloodBaz BloodBaz March 2007 Sinclair Basic
  • Cybernoid editorSo, my long tern goal is to make my own Cybernoid or Rex like game (see an ancient thread about Sprite advice)...but my skills are somewhat lacking..…

    ... ]Here[/url] is the source code. I`ve set the uncompressed ... the uncompressed map data, with input needed for start screen number ... . As I learn more about machine code, I could expand it with ...
    FrankT FrankT March 2007 Development
  • TV Modulator. Can it be repaired?Is it possible, to repair tha TV modulator (after removing it) if it gives wavy picture? I replaced both transistors (tr1/2) and both electrolytic ca…

    ... of time for a 48K machine, red lines up and ... not initialise into a 48K machine, yet BASIC can read ... ALWAYS initialises as a 16K machine, not 17 or 18K. ... all of RAM in a machine code program, can you make ... do with either speed or input/output voltage swing or ...
    Marcelo Marcelo March 2007 Hardware
  • Question about snapshot files....I've noticed that everytime I play "The Boss" (football management) it produces the same scores. I've played the first 5 games 3 or 4 times now and t…

    ... your program with
    [code]10 INPUT "number between 1 and 65535 ... ";a
    20 RANDOMIZE a[/code ... would be

    [code]10 PRINT "Please press a key"
    30 RANDOMIZE[/code]
    Philip Kendall Philip Kendall April 2007 Games
  • Converting m$ to dataI created a maze using a matrix of 704 characters. In order to save memory, and since the maze it's just walls and spaces which could be interpreted …

    ... maze in 88 bytes, and print the maze by reading the ... from the m array and print the maze by reading the ... e.g.

    [code]
    10 CLEAR 59999: REM ... Reserve 368 bytes
    [/code]

    You can then ... at 60000 using BASIC or machine code.
    BloodBaz BloodBaz May 2007 Sinclair Basic
  • hiding file names while loadinghello, i just found my old home grown game Bubble Bobble The Adventure in original form, so i'm trying to convert it from TR-DOS to TZX for submitti…

    ... paper and PRINT AT that line; or if you know machine code you ...
    ghbearman ghbearman May 2007 Sinclair Basic
  • hiding file names while loadinghello, i just found my old home grown game Bubble Bobble The Adventure in original form, so i'm trying to convert it from TR-DOS to TZX for submitti…

    ... same colour as paper and PRINT AT that line;[/QUOTE]
    [QUOTE]or if you know machine code you could call the load ...
    abelenki abelenki May 2007 Sinclair Basic
  • Faster Pussycat, yer man (UDG)Right we are almost into a game area. Ive started to play with UDG and by using bins and pokes I can redesign graphics to my hearts content. Now Im…

    ... /> So you can POKE 16600,CODE "X" (or whereever the screen ... you do a PRINT, at which point the PRINT routine goes through ... /> Within the PRINT AT command, each row is copied in machine code, so ...
    hldswrth hldswrth May 2007 Sinclair Basic
  • How does interrupts work?I am a little confused regarding the interrupts on the Spectrum. If I have some hundred bytes of machine code started with, say, [B]RANDOMIZE USR 300…

    ... instructions per key:

    [code]
    ld a,(hl) ; get ...
    jr z, keyhit
    [/code]

    I make a ... or keys means choosing the input subroutine address. Then a call ... dream to make my own machine code game. Even if it is ...
    Alcoholics Anonymous Alcoholics Anonymous May 2007 Development
  • New Spectrum HardwareHi all. Well its Friday so it seems as good a time as any (business is a bit slack at the moment) to start up a thread about creating new Spectrum ha…

    ... options
    11:- Built in machine code monitor (the C16, Plus4 and ... on board
    17:- Mic Input on audio chip side
    swift240 swift240 June 2007 Hardware
  • 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…

    ... fits together:

    [code]
    // print string with limited formatting
    print.

    [code]
    while (s)
    input.h library provides in_Inkey() (return ascii code of key ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... [code]
    1 LET a$="": LET c=0: LET r$="": PRINT "Looking ... for Lychrel numbers": PRINT "===========================": PRINT : INPUT "number: ";n$: PRINT n$: FOR ... z: PRINT "Probably you've found a Lychrel number!"
    [/code]
    wilko0070 wilko0070 July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... [code]
    1 LET a$="": LET c=0: LET r$="": PRINT "Looking ... for Lychrel numbers": PRINT "===========================": PRINT : INPUT "number: ";n$: PRINT n$: FOR ... z: PRINT "Probably you've found a Lychrel number!"
    [/code]
    Digital Prawn Digital Prawn July 2007 Development
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... Lychrel numbers":
    PRINT "===========================": PRINT : INPUT "number:
    ";n$: PRINT n$: FOR z=1 ... :
    PRINT "Probably you've found a Lychrel number!"
    [/code]
    CODE block, immediatly after the ':' character ...
    Digital Prawn Digital Prawn July 2007 Development
  • text routineI want to write an adventure in basic, and instead of a writing out a description for each location i want to use a kind of text compression routine …

    ... willing to dabble in machine code, I remember INPUT had a text compressor ... letter in a very short code something like 00 or 011 ...
    dmsmith dmsmith July 2007 Sinclair Basic
  • text routineI want to write an adventure in basic, and instead of a writing out a description for each location i want to use a kind of text compression routine …

    Its in machine code and basic, but it works ... part is just a short input routine to let you enter ... . I could probably convert the machine code into data statements (does BASIN ...
    dmsmith dmsmith August 2007 Sinclair Basic
  • Using a multiface to exit to BasicBack in the days I was always fascinated with the idea of getting access to BASIC listings inside a program or game. I was able to work a way around …

    ... , but since I never learned machine code, I didn't had much ... :INK 7:CLS
    30 PRINT #0;" Desculador de cabeceras PRESS ... n;:NEXT n
    110 PRINT AT 7,0;("Start address ... PRINT AT 15,0;"Byte quantity:";cby
    140 GOTO 30[/code ...
    Marcelo Marcelo August 2007 Sinclair Basic
  • Oneliner contestHello to you all, I dare you to make a program on 1 BASIC line. Here is the place to sent your ONELINERS [url]http://www.zxspectrum.00freehost.co…

    ... this:

    [CODE]
    INPUT k:
    [/CODE]

    This will ... each input so you can replace this:

    [CODE]
    PRINT AT ... /> [/CODE]

    with this:

    [CODE]
    PRINT "$";INT c:
    [/CODE]
    Einar Saukas Einar Saukas August 2007 Development
<1…78910111213…34>

Latest Posts

  • I am currently watching.....
    mel the bell on 5:54PM
  • Happy 40th Birthday to the Amstrad CPC464!
    Luny on 5:14PM
  • Your Favorite Magazine Cover Tapes.
    dm_boozefreek on 4:45PM
  • "Late Entries"
    harriusherbartio on 4:00PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 1:34PM
  • Simple Sprite Routine
    dmsmith on 1:25AM
  • Today's BASIC program: visit attribute cells I am interested in, in pseudorandom order
    Paradigm Shifter on April 11
  • How do you share programs online?
    firelord on April 11
  • Celebrity deaths...
    Ælita on April 11
  • Who Has Got The Earliest ZX Spectrum Software?
    harriusherbartio on April 11

HitBox

Word Docs Hits
machine 27.2K 35.6K
code 41.6K 91.2K
print 8.5K 20.4K
input 7.1K 10.4K

Related Threads

  • Machine Code Sprites Example Code Using Char Based SystemBelow is my WIP code to do smooth screen wrapping sprites using char positions and offsets, as opposed to writing direct to a line (0-191) and shifti…
  • IM2 Machine Code Sprites Example Code Using Char Based SystemFurther to my earlier post, here are sprites running using char method with IM2 driving it<br /> <br /> Note, for 48k spectrum using TASM<br /> <br /…
  • Easy way to print text in machine code?Please? It sounds so simple, but I've never done it.<br /> <br /> At the moment I'm grabbing the start address for each letter then printing them ou…
  • Converting Basic code into machine codeIm just interested to know if I can converter a game I've written in basic into Machine code, Is their a program that can do this??
  • LOAD "" CODE in machine code/store 128 bank dataHow do you LOAD "" CODE from machine code?<br /> <br /> I have written the following MC routine that fits into a REM statement in a basic program.<br…
  • Machine Code input / assemblers [naive questions alert]Excuse me for the naive questions...in advance :)<br /> <br /> When I was a kid, I was struggling to understand how to input machine code into Spec…
  • machine code basicsWondered if anyone can help me out. I have been playing round with some disassemblers (Zeus). And Machine code loaders.<br /> <br /> All I want to do…
  • Machine code loaderI was wondering how people wrote games. On the trail to this knowledge I discovered a machine code loader in basic, and also z80 assemblers.<br /> <b…
  • Saving machine code on EmulatorI have been dabbling with Chapter 26 of Stephen Vicker's "ZX Spectrum Manual".<br /> [url="http://www.madhippy.com/8-bit/sinclair/zxspecman/zxmanchap…
  • Machine Code ChallengeHere's a challenge for all you Z80 programmers. Points to be awarded for elegance and brevity. (I haven't got the solution either)<br /> <br /> HL ad…

Related Searches

  • lowest memory position for machine code
  • lowest memory position machine code
  • lowest memory machine code
  • mastering machine code on your zx spectrum by toni baker
  • mastering machine code on your zx spectrum by toni baker disassembler
  • mastering machine code on your zx spectrum by toni baker pdf
  • machine code routines
  • ultimate games 3 machine code
  • learning machine code
  • spectrum machine code
  • machine code sprite movement in basic
  • add machine code sprite movement to basic
  • beeper from machine code
  • new machine code
  • machine code ide
  • machine code tutorial
  • print number machine code
  • print lower screen with machine code
  • input machine code
  • machine code input

Copyright © 2024 World of Spectrum