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.014s
<1…16171819202122…34>
  • Which Windows Emulator will support SPECTRA?I want to start crossdeveloping games for SPECTRA, but it is a pain in the ass to save the TAP on USB Stick or SD Card and test them on my eMac SP Em…

    ... /> My routines are just compiled BASIC, and due to bitshifting, they ... which will restrict mode or attr boundary. We'll see. I ...
    LCD LCD January 2014 Emulators
  • How to print logo onto screen at chosen coordinates?Hi, I've just got back into zx spectrum games after all these years and after seeing some of the great games on here I would like to start learning p…

    ... /> [code]
    ; To test from BASIC:
    ; RANDOMIZE USR SetBLOCK (once ... ;>
    PRINTRO:;test from BASIC (otherwise this first section is ...
    ld h,a ;(HL)=ATTR(B,C)
    ex af ...
    Battle Bunny Battle Bunny February 2014 Development
  • Animated attribute revealA new challenge to solve next. I would like to create an animated attribute reveal in machine code by having my 768 byte attributes held in ram whic…

    ... random block effort done in BASIC 30 years ago for a ... 15;i
    29 SAVE "attr"CODE 36144,768
    30 ... ,36: INPUT ""
    42 LOAD "attr"CODE 36144,768
    43 ...
    Battle Bunny Battle Bunny February 2014 Development
  • Tile routinesHi all, Please does anyone have any examples of tile routines in pure asm to set up maptile screens. I would like to try and understand them and ti…

    ... data, finish and return to BASIC
    cp 0 ; if it ... ,... 8 for gfx, 1 for attr

    tile_2: ; wall
    polomint polomint March 2014 Development
  • The official CSSCGC 2014 threadJust to announce that the comp.sys.sinclair Crap Games Competition 2014 is now open. It's home for the year will be; [url]http://www.mykeweb.co.uk/c…

    ... the Development or the BASIC part of the forum. ... yourself. In BASIC, people usually use ATTR or SCREEN$ ... am I so bad at BASIC? :([/QUOTE]

    BASIC programming book to get ... learn a bit more BASIC. It has extensive explanations ...
    Timmy Timmy April 2014 Games
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... coded in Sinclair BASIC I did every check using ATTR. For a ... red (2), just check if ATTR in the char cell above ...
    na_th_an na_th_an May 2014 Sinclair Basic
  • DIM and FOR, NEXT loopHi there. I'm making a program with 100 items on screen using dim and a for next loop. The thing is, each time I want to manipulate the items I do an…

    ... coded in Sinclair BASIC I did every check using ATTR. For a ... red (2), just check if ATTR in the char cell above ...
    davepierce07 davepierce07 May 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... tiles on the screen, in BASIC? It seems to be a ... object info.

    The ATTR function works well for getting ... grab the remainder in ZX BASIC.[/quote]

    You can ... ]Is there any reverse of ATTR, allowing me to apply attributes ...
    chev chev June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... /> Is there any reverse of ATTR, allowing me to apply attributes ... way to do this in BASIC. Certainly much quicker than using ...
    ccowley ccowley June 2014 Sinclair Basic
  • Fast and easy read/write of attributes?What are the fastest or easiest ways to check the attributes of tiles on the screen, in BASIC? It seems to be a great way of storing object info. …

    ... vars as needed in basic then USR to whichever ... )
    ; hl = attr memory address
    ; a = attr value to poke ... /> ; poke attr into the attr address
    ld a, (attr)
    ld ... call get_attr_address
    ; return attr from attr address
    ld b, 0 ...
    polomint polomint June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... collides with tiles with the ATTR read of 112, but I ... , but I think most BASIC games will use ATTR or SCREEN$ detection ... screen colours could use GOSUB ATTR, almost like a jump table ...
    R-Tape R-Tape June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    The ATTR way is the fastest in Sinclair BASIC.
    na_th_an na_th_an June 2014 Sinclair Basic
  • Dock's ZX Maze gameI'm hoping to finish a simple maze game in ZX Spectrum BASIC this week, as part of the Ludumdare Retro challenge. I used to dabble in speccy basic on…

    ... ]I'm happy to use ATTR for the lookup, but I ... wrote this attribute editor in BASIC yesterday.
    [center][img]http ... 's just 100 lines of BASIC so it's easy to ... .uk/~jg27paw4/pourri/editatts.bas]BASIC listing[/url] and [url=http ...
    Battle Bunny Battle Bunny June 2014 Sinclair Basic
  • Manic Miner loading screen adjustmentHad half an hour spare earlier and wanted to try a few things. Always like to learn anyways even now. [URL="http://www.yellowspider.co.uk/speccy/Man…

    ... ]

    Should be a basic loader and then the screen ... tweaked, the middle contains the attr Manic Miner and the lower ...
    spider spider July 2014 Games
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    ... /> B[/QUOTE]

    Normal BASIC use of SCREEN$ is also ... :
    And the same for ATTR. Am I missing the point ...
    p13z p13z August 2014 Sinclair Basic
  • Why no PLOT, etc. on bottom two lines?I was pondering if there was any way to get PLOT, etc. to address the full screen from BASIC without having to write a few lines of assembler to bypa…

    SCREEN$ & ATTR don't do any explicit ... a lot.

    This BASIC routine can "PLOT" (using POKE ...
    Battle Bunny Battle Bunny August 2014 Sinclair Basic
  • Jetset Willy ATTR Buffer 2Does anyone understand how Jetset Willy uses the system vars area as screen ATTR buffer 2? H5C00 D23552. Thanks

    ... of an index number, the ATTR byte was used in the ... a data store for the BASIC ROM routines. If you're ...
    joefish joefish September 2014 Sinclair Miscellaneous
  • BLOG- ZXSporgBasic RPG development thread- Inspired by the Spectrum 30 show, and after a six-month wait while I was busy playing loads of gigs, I have decided to do a spot of Spectrum coding…

    ... /> [CODE]10 REM zx sporg basic v0pt027 20140912
    20 REM ...
    bigjon bigjon September 2014 Sinclair Basic
  • Edge Grinder, how would YOU do it?I always meant to post about this and AndyC reminded me in the 'vs' thread in games. [QUOTE=AndyC;808887]The thing I love about threads like this is…

    ... /> LD HL,22528+256-1 ; attr address
    EXX

    ;;
    ; this exits to basic
    LD BC,57342
    ; safely exit to BASIC

    exitend
    ...
    MatGubbins MatGubbins December 2014 Development
  • Uridium possible with more colour??Having seen the MSX version of Uridium mentioned in another thread I wondered if the Spectrum could produce anything similiar, and had a go at a mock…

    ... and using lengthy BEEPs in BASIC together would not work well ... Uridium's gameplay, but the ATTR clash would not be horrendous ...
    dmsmith dmsmith January 2015 New game ideas
  • SpecBAS 0.844 releasedHi all - it's been a while... Having some unexpected extra time off work, I've been able to get some work done on SpecBAS and it's now a bit more …

    ... /> Your current knowledge of Sinclair BASIC will serve you quite well ... be coloured. No BORDER. No ATTR function due to the above ... I ever wanted in a BASIC (almost - still working on it ...
    Dunny Dunny August 2015 Sinclair Basic
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... /> However, unlike the C64, Spectrum BASIC includes helper functions to do ... a particular screen location, and ATTR(row,column) returns its colour ...
    John Elliott John Elliott August 2015 Sinclair Basic
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... in different colours then use ATTR(y,x) to retrieve the ... -charade-graphics-engine-for-sinclair-basic/p1
    joefish joefish August 2015 Sinclair Basic
  • Peeking the contents on screen? How?You will have to forgive me for growing up on the C64, but I know I can peek the location of a character (1024 is top left from memory) and the peek …

    ... is stored, then comes your BASIC program, and somewhere above that ... stores the variables for your BASIC program, and the stack space ... 're not corrupted by the BASIC interpreter.

    Other system ... sense of it from BASIC, so stick to PRINT AT and ATTR!
    joefish joefish August 2015 Sinclair Basic
  • Arrays in BASICHi so I'm making this crappy game and I wanna store the screen positions of some UDGs in in a 50x2 array cause I have 50 characters. So I made the ar…

    ... can be addressed directly in BASIC by making it part of ... CODE SCREEN$ (23,31): PRINT ATTR (23,31): POKE 23659,6 ...
    Battle Bunny Battle Bunny October 2016 Sinclair Basic
  • Trying to remedy a bug in this gameStruggling with this project, the character shifts the crates around no bother but kills baddies that are one space to the left or right even though …

    ... ;block move

    call attr ;check attr of new square ;
    MatGubbins MatGubbins October 2016 Development
<1…16171819202122…34>

Latest Posts

  • I am currently watching.....
    Paradigm Shifter on 12:49AM
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Fixed Speccy Software. And which games remained unfixed?
    John Elliott 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
  • European Software Titles with an English version
    harriusherbartio 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
  • Celebrity deaths...
    mel the bell on April 20

HitBox

Word Docs Hits
basic 24.7K 39K
attr 692 1.3K

Related Threads

  • Switch from 128k BASIC to 48k BasicHello,<br /> <br /> Is there a way to start off running a program in 128k basic (so that you can use the ramdisk facilities) but then switch back dow…
  • (Basic) Sinclair BASIC mode for EmacsI saw this [URL=http://www.worldofspectrum.org/forums/showthread.php?t=14622]post[/URL] regarding a Sinclair BASIC editing mode along with some Fuse …
  • Help with Visual Basic 6.0 vs Visual Basic.netI have a program that auto generates VB.Net code..... I know VB.net syntax and am happy with the code generated.<br /> <br /> However, I have been as…
  • What did Spectrum BASIC lack (and was BBC BASIC so good?)Over the years, I've read in various multi-format magazines, that BBC BASIC was probably the best BASIC available on an 8-bit machine. I've never use…
  • 48K BASIC to ZX81 BASIC conversion possible?Looking for an automated way of converting a BASIC program done on a<br /> 48K Spectrum to one for the ZX81. It's obvious that some things cannot<br …
  • ZX Basic 1.2.5 - a BASIC CompilerWell, my old post about ZX BASIC seems to be gone (maybe this phorum purges old threads?), so I started a new one.<br /> <br /> After more than 6 mon…
  • Basic BASIC help needed RNDHi all,<br /> <br /> I have recently re-discovered an old program I wrote in the early 90s which would do generate random lottery numbers.<br /> <br …
  • Star BASIC or *BASIC??? Anyone heard of this?Does anyone remember a thing called Star Basic or *basic?<br /> <br /> It was a tape that extended the BASIC instruction set and from memory you put …
  • Loading basic from basic?Hi Guys,<br /> <br /> Could you please help me. I want to create a menu on my plus 3 disks. If I use the line below I just get "c nonsense in basic…
  • Couple of basic BASIC questionsPlaying around with BASin again in an effort to knock up a game and am wondering 2 things<br /> <br /> 1) Why when I run the program do my UDGs not a…

Related Searches

  • rst8 return to basic
  • rst8 basic
  • return to basic
  • basic tips tricks
  • best basic manual
  • writing music in basic
  • play in basic
  • play command in basic
  • basic upper lower case
  • basic toupper tolower
  • basic lcase ucase
  • basic change upper lower case
  • basic
  • basic flicker
  • basic attr
  • basic attr formula
  • basic attr flash
  • attr bright basic
  • attr basic flash beight ink
  • attr basic flash bright ink

Copyright © 2024 World of Spectrum