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
<1234567…34>
  • generating a pre-defined list in an un-defined sequenceI've decided to become a drunkard, to which end I've been drinking a whole bottle of beer in one day (whereas normally I'd make it last 2 or 3 days).…

    ... [B]RND[/B] and a 16 bits [B]LFSR[/B]. The algorithm ... [/B] to generate a new 16 bits random number. Let's call it ... . Each execution will provide a number [B]B[/B] from 0 ...
    Einar Saukas Einar Saukas July 2013 Sinclair Basic
  • 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…

    ... scores. An unsigned integer, 16 bits, can hold a maximum ... expense of losing all negative numbers) which is just ... range); // return random number from 0..range-1
    C's standard random number generator should generate numbers from ...
    Alcoholics Anonymous Alcoholics Anonymous July 2007 Development
  • Oscilloscope Speccy ProgramHi all, I remember very well in the old days when my Speccy was my single computer (around 1992) that I have had an oscilloscope software. This uses…

    ... from -32768 to +32767 (16 BITS).

    The term ... can be said that 16 BITS has a dynamic range ... time. Data above 8 BITS can easily be converted ... and count the number of negative phases over a ... Maximum volume

    align 16

    .low: mov ...
    ASM ASM November 2010 Sinclair Miscellaneous
  • 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 …

    ... /> jp stdio_atou ; complete job in 16-bits

    writelp:

    jp stdio_atou ; complete job in 16-bits


    divide:

    ; is number negative?

    bit 7,h ...
    Alcoholics Anonymous Alcoholics Anonymous June 2012 Development
  • Altera CPLD vs Xylinx FPGAI will dig into the world of FPGA's, mainly to find something that can replace one or more GALs for my current and new projects. And it's never bad t…

    ... because there are a number of operators that behave ... br /> // Sinclair. Port decoding (16 bits): xxx0xxxxxxxxxxx0
    // Negative logic.
    // Output = xxxLRDUF ...
    // Cursor. Port decoding (16 bits): various ports, as this uses ...
    mcleod_ideafix mcleod_ideafix January 2013 Hardware
  • SE Basic IV Buffy v4.1 source (WIP)I've been doing a major refactor on the SE Basic source and I'd appreciate a code review from anyone who has time to look at it. I've almost certainl…

    ...
    ld c, 255 ; assume negative number
    bit 7, d ; test ... br /> ld b, a ; number of bits to zero to B
    number of bits to zero
    jr z ... , 145 ; set exponent (up to 16 bits)
    ld a, d ; test ...
    chev chev October 2013 Development
  • So shooting 360 degrees?...[I]How do I go about having - for example - a cannon in the middle of the screen, that can shoot in any direction towards the player?[/I] Well, I do…

    ... and Y as a 16-bit number, where the upper byte ... , you use the full 16 bits and ADD on the movement ... time as a 16-bit fixed point number. The fractions will ... because of the effect of negative numbers, it's best ... case where dividing one number by zero gives you ...
    joefish joefish June 2014 Development
  • Speccy games with better graphics than 16 bit versionsRecently been checking out the Atari ST, and was pretty shocked at a few games that have attrocious graphics compared to the spectrum versions... I`…

    ... speccy wins out over the 16 bits (or even arcade version)...
    CKay CKay April 2005 Games
  • SPIN's breakpoints - an overviewAs quite a few people have been asking how to set breakpoints on memory write etc. in SPIN, here's a description of the way the breakpoints work. Get…

    ... (c), a", the port number is C - but the value ... effectively compute a 16-bit port number! The spectrum itself ... in SPIN are always 16-bit. Code that accesses ... number would be a 16-bit value, the highest 8 bits ... the lower 8 bits of the read port number (RPORT) ...
    Marko Marko November 2007 Development
  • Commercial life of the 16 bits?Just sat here, browsing the archive looking at the game adverts. The Spectrum went North commercially around 1993, and the C64 managed to hold on (al…

    ... how much longer did the 16-bit "replacements" the Amiga and ...
    MattLamb MattLamb March 2008 Chit chat
  • The Sinclair ZX Microdrive Resurrection Project (long)Dear Spectrum fans! [Management summary: Download [url]http://www.bartheld.net/temp/mdv2img.zip[/url] and tell me what you think. All help very much…

    ... maximum number of sectors to skip before giving up) to 16 bits. So ... probably not reading the sector number I intended to, since the ... mercy unless that exact sector number is unoccupied.

    Data ...
    Volker Volker March 2012 Emulators
  • 1st interface in 30 years (update)Hi all, Just a wee update to my "1st ZX interface in 30 years" project. Main IC's: 82C55 three 8-bit port I/O (configured for 12 dig in, 12 dig out…

    ... I2C Controller
    DAC8574IPW - I2C 16-bit quad channel DAC
    16-bit decimal number into LSB & ... ; // Take just the lowest 8 bits.
    byte high = VALTOSEND ... ; // Shift the integer right 8 bits.

    Here's ...
    IanJ IanJ August 2014 Hardware
  • Ports of 16 bit gamesI was watching a video for the Speccy version of Turbo Outrun where the guy who posted the video said that whilst he didn't think it was as good the …

    ... it was superior to the 16 bit versions, something I disagree ... few games ported from the 16 bits I feel that the Speccy ... pretty good conversions of the 16 bit games.

    So ... feel fell short? And what 16 bit games would you liked ...
    RonnieASA RonnieASA August 2014 Games
  • Divide by 16 problem...I think.I *think* I have a problem with division. Now, this is not for the Spectrum but it [i]is [/i]for another Z80 platform. I'm converting [b]Speccies …

    ... is why I'm using 16 bits to hold the position) the ... HL then divide it by 16 and leave the result in ...
    Sokurah Sokurah July 2015 Development
  • Enciclopedia Homebrew, new Crowfunding book about 8 and 16 bits homebrew gamesAs the Homebrew software is a Little bit forgotten compared to the classic ones, we, 3 people, have decided to write a book about Homebrew games, whi…

    ... of games from 8 and 16 bit systems (ZX, CPC, MSX ...
    Ivanzx Ivanzx October 2015 Announcements
  • 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? …

    ...
    [code]number2string: ;arrive DE number, HL at end of string ... lp: inc (hl) ;increase string number
    ld a,(hl)
    dec de ;decrease number counter
    ld a,d ... ;
    string:
    db '00000' ;16 bit string number
    ;[/code]
    R-Tape R-Tape December 2016 Development
  • Random Numbers, USR Return Values & Timing BASICI've been trying out Jon Ritman's random number routine, published in Your Sinclair Aug'87. Apart from a timing comparison I also did a frequency ana…

    ... out Jon Ritman's random number routine, published in Your Sinclair ... is the 32-bit random number generator routine I used in ... a 16-bit random number. However,
    if you need all 32 bits ... /> call $2d2b ;STACK_BC stack the number in BC
    rst $28 ...
    Battle Bunny Battle Bunny January 2017 Sinclair Basic
  • How do i learn to programAll the years i had a computer the only one i could program was the Texas Instruments Ti99/4a and when using extended basic with its so simple sprite…

    ... and give an effective binary number 16 bits in length. If you multiply ... single register now represents a number 256 times greater. The bit ... this forumla to caculate the number they represent as a whole ... in memory first. (Hence the number 16384 is 00, 64 not ...
    cyborg cyborg January 2002 Games
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... ) that we can represent a negative number by working out its one ... humans care about what the bits mean. All the Z80 is ... rules that determine how these bits should change when an operation ... of these numbers must be negative right?[/quote]

    Doesn ...
    cyborg cyborg September 2004 Development
  • I would like to write emulatorHi guys, I'm new to this forum but I realise that you must get loads of posts from people asking "how do I write an emulator" so I'll try and be spe…

    ... a value is positive or negative. I am I going about ... bother: when you store a number it IS in it's ... then you would convert the negative number to it's positive 2s ... understand why there are sign bits and such - you can work ...
    cyborg cyborg September 2004 Development
  • Spectrum Gaming Eras.Hello everybody. A question I'd like to submit: In which eras would you divide the Spectrum years from the point of view of game production? Examp…

    ... to the emerging 16 bit systems. A surprising number of games are ... actually conversions of 16 bit titles ... is being done on the 16 bits leaving the Spectrum wallow in ... high street. The 8 bits and 16 bits are swept away by the ...
    Cappy Cappy September 2005 Games
  • Sprite adviceHello. So, I'm slowly getting to grips with Z80 assembly - currently equal parts frustration and enjoyment. Now looking for some advice to help shift…

    ... /> ; Here's two simple 16-bit random number generators. I originally made ... and adds some trash
    ; bits then it rotates second seed ... (first seed and %1111) bits left and adds
    ; some ... trash bits. Easy and compact on PC ...
    Alcoholics Anonymous Alcoholics Anonymous May 2006 Development
  • 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…

    ... the Z80 isn't the number of registers it's ... 64180 but since it's 16-bit they could have ... Since each memory fetch was 16 bits wide, they could achieve a ... full 16-bit opcode fetch in one ... ez80 they also reduced the number of cycles in bus ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • 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…

    ... each memory fetch was 16 bits wide, they could achieve ... they also reduced the number of cycles in bus ... to have improved the 16-bit addition. There are ... large savings especially for 16-bit add with carry ... IX and IY. Other 16-bit effective address calculations ...
    Alcoholics Anonymous Alcoholics Anonymous September 2006 Sinclair Miscellaneous
  • PZX file format draft[QUOTE=Andrew Barker;186084]To this date, there is no rival format for TZX, despite people saying they can do better. Well the challenge is on, prov…

    ... However if you compute the number of bytes used as (bit_count ... of your code decodes bit_count bits without checking the actual ... actually helps to say the number is a signed quantity ... then any large number here, or even a negative number, will still overflow ...
    Laser Laser May 2007 Emulators
  • Starting on machine code - BASIC first?Howdy. If I wanted to start learning machine code for the speccy, from scratch, would you recommend I learn BASIC first or is it entirely possible to…

    ... "near" binary with hex number equals four binary digits, what ... to add 10 to a number I don't do ... yourself months later!) that the number's bit pattern has significance ... if he sees a hex number he can be clued ... in hex (or binary but 16 bits is very very hard to ...
    Alcoholics Anonymous Alcoholics Anonymous November 2007 Development
  • Packing numbers in as least memory as possibleI am writing some code for drawing vector lines etc. on the screen. These need to be stored in memory and I want to pack them in a smaller area as po…

    ... 127 requires 7 bits to uniquely represent each number
    < ... br /> The range 0-48 requires 6 bits ... /> So the total number of bits you need is 7+ ... br /> This would use 16-bits per pair of co-ordinates ... , only wasting three bits per pair, which ...
    Digital Prawn Digital Prawn March 2008 Development
  • A BASIC compiler projectHi, I started my own BASIC compiler for the ZX Spectrum (and Z80 machines) 3 months ago. It's still in ALPHA stage (when it is mature, I will write …

    ... for two parameters
    - For 16 bits operands : HL as parameter; HL ... are implemented as 16 bits (unsigned pointers). So proceed as 16 bits.

    number of "pops" pending. The exit ... H'L' to store the number of bytes SP must be ...
    boriel boriel April 2008 Development
  • [WANTED] ASM routinesHi there, 1.) i really need 5-6 working and well commented routines, showing assembler capabilities. They should be simple, but not too much complic…

    ... , how to store previously computed number in register pair HL? zxspin ... 8-bit (1 register) in 16 bits (2 registers).

    If ...
    piters piters June 2008 Emulators
<1234567…34>

Latest Posts

  • European Software Titles with an English version
    harriusherbartio on 12:06PM
  • How Do You Categorize Your Speccy Software and Games?
    harriusherbartio on 11:21AM
  • Fixed Speccy Software. And which games remained unfixed?
    harriusherbartio on 11:01AM
  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Happy 40th Birthday to the Amstrad CPC464!
    rich_chandler on April 21
  • Another Birthday! The Game Boy Is 35!
    mel the bell on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21
  • 1992 Spectrum Software
    harriusherbartio on April 21
  • +3 Disk drive motor
    AndyC on April 21

HitBox

Word Docs Hits
16 15.1K 22.7K
bits 10.4K 13.8K
negative 2.1K 2.5K
number 18.5K 25.1K

Related Threads

  • last games you played before 16 bitsI passed to Amiga, I suppose the majority of you passed to AtariST, Amiga or PC,..<br /> <br /> before that what games were the last you were playing…
  • issue number of ZX Spectrum 48K by means of serial numberIt is possible to identify the board issue of ZX Spectrum 48K/+ by means of the serial number?<br /> If yes, how?<br /> <br /> <br /> [ This Message…
  • Commercial life of the 16 bits?Just sat here, browsing the archive looking at the game adverts. The Spectrum went North commercially around 1993, and the C64 managed to hold on (al…
  • Graphic/music prog (16 pictures, 16 songs)"YERZMYEY's SLIDESHOW" by HOOY-PROGRAM<br /> A slideshow for ZX Spectrum 16K with AY-interface. <br /> Released in 01.06.2013 (the Children's Day in …
  • Full 16*16-digit BASIC multiplicationI liked Andre Adrian's 32-bit long multiplication routine so much that I decided to a decimal version. After all, 2^63 is only 9223372036854775808, a…
  • Enciclopedia Homebrew, new Crowfunding book about 8 and 16 bits homebrew gamesAs the Homebrew software is a Little bit forgotten compared to the classic ones, we, 3 people, have decided to write a book about Homebrew games, whi…
  • Xenon on the 16 bits - that bloke in the sunglassesYou know the pale guy that zooms in on the TV screen and says "Sector 1"?<br /> <br /> Who is he? One of the coders? I've had a quick web search a…
  • Loads of speccy bits for auction inc. a boxed rubber keyed and 128k heatsinkCheck it out, only a day to go on some of the stuff!!!<br /> <br /> [url="http://cgi6.ebay.co.uk/aw-cgi/eBayISAPI.dll?ViewSellersOtherItems&amp;useri…
  • FA: Loads of Speccy bits.[url="http://cgi6.ebay.co.uk/aw-cgi/eBayISAPI.dll?ViewSellersOtherItems&amp;userid=leesbriggs&amp;completed=0&amp;sort=2&amp;since=-1&amp;include=0&a…
  • Spectrum bits and piecesWould anyone be interested in various spectrum stuff - a couple of speccys, rampack, zx printer, interface+microdrive, books and lots of games/utils?…

Related Searches

  • number of spectrums manufactured
  • number of spectrums made
  • serial number
  • random number code
  • input number
  • validate input is a number
  • not a number
  • validate input is number
  • if input is not a number
  • thunderbirds 16
  • serial number database
  • number of the beast
  • radastan 128 x 96 16 colours
  • number
  • rst 16
  • rst 16 registers
  • negative number
  • print 16 bit number
  • print 16 bit number assembler
  • compare 16 bits number

Copyright © 2024 World of Spectrum