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.028s
<1…891011121314…34>
  • how to pass arguments from Basic to MC ?can someone explain me (or give some link) how to pass arguments from basic to machine code? i mean something like this: PRINT USR xxxxx, arg1, arg2:…

    ... using pokes
    Most machine language functions don't strictly ... So to call a machine language function you need to ...
    eg.


    MACHINE CODE:
    org 30000
    call ... PRINT USR 30000

    This would call a drawimage machine code ...
    Kiwi Kiwi April 2006 Development
  • New - BASin r13a is available for downloadHi all, Here's the latest BASin. Mostly just bugfixes, but also now has the upgraded UDG editor which can now edit multiple UDGs on one editing gri…

    ... PRINT to display your graphics and not some user written special machine code ... some background characters
    91 PRINT "@@"; CHR$ 8; CHR$ ... on screen
    110 PRINT "CD";CHR$ 8; CHR ... the background characters @@
    130 PRINT "AB"


    Kiwi Kiwi April 2006 Emulators
  • New - BASin r13a is available for downloadHi all, Here's the latest BASin. Mostly just bugfixes, but also now has the upgraded UDG editor which can now edit multiple UDGs on one editing gri…

    ... and writing the game in machine code.
    [/QUOTE]

    Hehe ... so that sprite commands using PRINT USR statements can be written ...
    Dunny Dunny April 2006 Emulators
  • 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
  • Detect if program was loaded from tape or microdriveHow (if at all) can a BASIC program detect if it was loaded from tape or microdrive? This can be helpful to then load the screen or more machine code…

    ... NEXT A
    80 PRINT USR AsmBase[/code]
    Line 30 ... inserts (2 for line number, 2 for line lenght ... gives:

    [code]001 010 000 LD BC ... , 10
    201 RET[/code]
    As the result ... the register BC, the PRINT in line 80 gave [ ...
    Marcelo Marcelo July 2006 Development
  • ZXLFN - storing tape header in a long file nameHi lads ;) Couple of months ago, the group of guys interested in divIDE software development has came up with an interesting idea - store tape heade…

    ... suffix for basic, one number for code, as hexa in default ... that by counting the number of files and adding ... now develop a cool machine code method of drawing that screen ... I need to load that code before the screen, so ... do I insert the CODE block at position 2, ...
    Dunny Dunny July 2006 Emulators
  • The Only Reason Sinclair Succeeded (Provoking Controversy)Although I love my Sinclairs dearly, I think that the only reason they succeeded was because at the time most people did not know any better (factori…

    ... feature on a non-Sinclair machine), a clean and well ... , and so they learnt machine code. A few even went ... you get with any modern machine. At the time, ... just the same as any number of earlier games, but ... abandon the Spectrum for another machine, or even too much ...
    ewgf ewgf August 2006 Sinclair Miscellaneous
  • 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
  • manic miner version?in the archive I?ve found this screen from MicroHobby: [url]ftp://ftp.worldofspectrum.org/pub/sinclair/magazines/MicroHobby/Issue061/Pages/MicroHobb…

    ... (?) but I do know my machine code and pokes.

    Both ... 35136,5 sets the default number of lives 5 (on the ... that kept the majority of code exactly the same (probably not ...
    BloodBaz BloodBaz October 2006 Games
  • 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
  • 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
  • NEW games for you chaps (and girls too) ;-)Okie, did some .TAP versions of NEW original games that were only released on TRDOS disk format. Some of you might have seen some (one or two are eve…

    ... machine code loader) to .TAP format
    4. SEC2TAP - to convert any number ...
    Tom-Cat Tom-Cat January 2007 Games
  • NEW games for you chaps (and girls too) ;-)Okie, did some .TAP versions of NEW original games that were only released on TRDOS disk format. Some of you might have seen some (one or two are eve…

    ... also break $556 loader from machine code, so I normally do this ... /> LD D,B ; B is number of sectors in trdos, one ... have to resort to a machine code one like this.
    And ...
    Tom-Cat Tom-Cat January 2007 Games
  • RFC: 64 column font codeIn BASIC, type CLEAR 49999 then import the code at 50000. Then type RANDOMIZE USR 50000. This will create a new channel and attach stream #4 to it. A…

    You can also redirect text to different streams in machine code. Just load the accumulator with the stream number (in this case 4) then call 5633 to open the channel.
    jonathan jonathan January 2007 Development
  • basizx newsHello. I've uploaded a new version of basizx. Now there is also an Amstrad CPC incarnation, able to LOAD and SAVE +3 basic files in disc. And the I…

    ... will break programas that uses machine code routines to extend syntax, and ... integer form of the line number (I'm not sure which ... after a precompile. The line number either takes LESS RAM than ... line. (or if the line number is a string, convert and ...
    JamesD JamesD February 2007 Development
  • basizx newsHello. I've uploaded a new version of basizx. Now there is also an Amstrad CPC incarnation, able to LOAD and SAVE +3 basic files in disc. And the I…

    ... line pointers are IN the code itself. Instead of a string ... integer form of the line number (I'm not sure which ... that extend the language with machine code. (two can play that game ...
    NotFound NotFound February 2007 Development
  • 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
  • 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 (…

    ... 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 ... parse the character after the number until after it has returned ...
    Matt_B Matt_B February 2007 Development
  • Screen$ disappearanceGreetings to all developers :D As you know, I have been playing around with Professional Adventure Writer and was making a few tests in the adventur…

    ... the screen before loading the machine code for the adventure.
    ... there should be a number printed on the menu ... screen. This number is extvec. Instead of ... = and then type that number instead of the ?'s ... note of the extvec number, but don't save ...
    mulder mulder March 2007 Development
  • Screen$ disappearanceGreetings to all developers :D As you know, I have been playing around with Professional Adventure Writer and was making a few tests in the adventur…

    ... screen before loading the machine code for the adventure[/quote]< ... there should be a number printed on the menu ... screen. This number is extvec. Instead of ... = and then type that number instead of the ?'s. ... take note of the extvec number, but don't save ...
    alban lusitanae alban lusitanae March 2007 Development
  • Screen$ disappearanceGreetings to all developers :D As you know, I have been playing around with Professional Adventure Writer and was making a few tests in the adventur…

    ... [/url] (proof of the extvec number)

    Thx for any ... when the first block of machine code loads. It's not down ... 6912
    30 LOAD ""CODE : SAVE "AVENTURA @"CODE 28800,8832
    40 ... A"CODE 37632,2443
    50 LOAD ""CODE : SAVE "AVENTURA B"CODE 65484 ...
    mulder mulder March 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
  • 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 ... input needed for start screen number, ship position and map width ... . 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 ... right after the RAM part number, generally after a dash, ...
    Marcelo Marcelo March 2007 Hardware
  • 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
  • Comments for small "sprite" routine wantedI have just written my first machine code program and I am quite happy (and proud) to get it working! :smile: As a child I never learned anything e…

    ... more optimized code, from original 64 byte machine code to 49 ... ld b,8 ;counter, number of bytes in graphic ... dec c ;decrease c, number of side movements in one ... c,8 ;reset c, number of side movements in ... dec d ;decrease d, number of total characters to move ...
    Rickard Rickard May 2007 Development
<1…891011121314…34>

Latest Posts

  • European Software Titles with an English version
    Antiriad2097 on 6:40AM
  • 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
  • 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
print 8.5K 20.4K
number 18.5K 25.1K
machine 27.2K 35.6K
code 41.6K 91.2K

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 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…
  • Machine Code Challenge #1 ResultsWell at the stroke of midnight there were 3 <br /> entries so everybody gets to stand on the podium and the 3 Spectrum books will be going out to pri…

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
  • random number code
  • 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
  • print 16 bit number
  • new machine code
  • machine code ide
  • machine code random number
  • machine code print input
  • print lower screen with machine code

Copyright © 2024 World of Spectrum