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.026s
<1…11121314151617…34>
  • Manipulating attributes...Hi Folks, I have written a routine that allows a blue bar to be scrolled up and down a list to select an item. Each item in the list occupies two l…

    ... 1
    200 LET ar1=ATTR (y,0):
    LET ar2 ... =ATTR (y+1,0):
    PRINT AT y,0; PAPER 1; INK ...
    Einar Saukas Einar Saukas November 2010 Sinclair Basic
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... clear screen routine to set PAPER 0 / INK 7.

    ... to XOR pre-shifted 8 x 8 pixel sprite on screen ...
    ; ------------

    ld b,8 ; Height in pixels

    ; Pre shifted sprite definitions (8 x 8 pixels).


    sekrets sekrets November 2010 Development
  • Learning Assembly LanguageHow easy would it be to learn assembly language for someone who has a decent grasp of Basic? I mean how long do you think it would take before I coul…

    ... clear screen routine to set PAPER 0 / INK 7.

    ... to XOR pre-shifted 8 x 8 pixel sprite on screen ...
    ; ------------

    ld b,8 ; Height in pixels

    ; Pre shifted sprite definitions (8 x 8 pixels).


    ASM ASM November 2010 Development
  • inverting graphics using basic?just curious if it could be done by poking screen memory ? and what's the structure. (foreground / background for each char ? ) reason I ask is I'd …

    ... V(FN V(x,128),64),32),16)/8) OR INT (FN ... V(FN V(y,128),64),32),16)/8)=1))+(4 AND INT ... V(FN V(x,128),64),32),16),8)/4) OR INT (FN ... V(FN V(y,128),64),32),16),8)/4)=1))+(2 AND ... V(FN V(y,128),64),32),16)/8)=2)+(4 AND INT ... V(FN V(x,128),64),32),16),8),4)/2)+INT (FN ...
    bigjon bigjon December 2010 Sinclair Basic
  • Powering up a Speccy after long-term storage.Staying at my folks for Christmas. Feels good to be back in God's country again, even if it is -12C outside at the moment. :-o Anyway, I was plannin…

    [QUOTE=Alien 8;500446]Isn't it the ... trick. Changed the Border, Paper, and Ink colours, then made a few ...
    Dave_C Dave_C December 2010 Hardware
  • Compiling Basic to MCHello, I have a lot of long Basic programs. These are mostly strategy programs, good but slow. I was thinking about how to speed them up without com…

    ...
    10 BORDER 0: PAPER 0: INK 7: CLS: REM turn screen ... /> 30 LET c = 1: REM Ink color starting from blue
    50 DRAW INK c; x2 - x1, y2 - y1 ... c = c + 1: IF c = 8 THEN LET c = 1: [b ...
    boriel boriel February 2011 Development
  • Proportional Print Routine...Hi Folks, Does anyone know of a good proportional printing routine for the ZX Spectrum? Ideally I am looking for something that prints with charact…

    ... attribute (in my case green ink, black paper) is reproduced in column ...
    Paddy Coleman Paddy Coleman May 2011 Sinclair Basic
  • Storing and displaying attributes...Hi Folks, I have a requirement to store and then redisplay a line of attributes from the screen. For example: 100 DIM a$(1,32) 110 LET line=10 120…

    ... ,0; PAPER p; INK i;"This is line ";a; PAPER 7; INK 0;" ";p ... =USR "A" TO USR "A"+8: READ V: POKE A,V ...
    Paddy Coleman Paddy Coleman June 2011 Sinclair Basic
  • Print TextHow do i print text on the bottom left row(memory location in attribute 23295) of the screen in assembly? I understand the parts better on paper and …

    ... on screen and in whichever PAPER and INK colours you wish.
    ;
    ; $0A - COLOUR ((PAPER - (0-7) * 8) + (INK 0-7))

    LD B,8
    PRTA_1 LD A,(HL ...
    rich_chandler rich_chandler June 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... ld (de), 6*8 ; copies attribute = PAPER 6 to the screen ...
    ld a, 39 ; ink white paper green

    ld ... br /> ld (de), 6*8 ; copies attributes = PAPER 6 to screen

    ld a, 8 ; ink color to white\\

    ooze48k ooze48k July 2011 Development
  • Move objectHi again, I am using paper colors to represent game objects. I have a "paddle" that is 4 pixels wide. I save its position as a 2 byte word in memory…

    ... ]ld (de), 6*8 ; copies attribute = PAPER 6 to the screen ...
    ld a, 39 ; ink white paper green

    ld ... br /> ld (de), 6*8 ; copies attributes = PAPER 6 to screen

    ld a, 8 ; ink color to white\\

    ooze48k ooze48k July 2011 Development
  • Keys redefine routine and key check.I have written some asm code which allows me to redefine keys (for a game etc.), and also allows me to be able to check any keypresses for the redefi…

    ... /> ; --------------------------------------------------
    ; border black, paper black, ink green
    do_the_redefine: xor a ...
    msg_down: defm CC_AT,8,8,"Down ?",255
    msg_left: ... /> msg_right: defm CC_AT,10,8,"Right ?",255
    msg_fire: ...
    polomint polomint September 2011 Development
  • New WIP underway - 'Dingo'.Hi, Prepare for a long post. Perhaps I can even challenge ewgf here. :razz: Anyway, I've been meaning to get into Z80 programming and making a game…

    ...
    ; border black, paper black, ink green
    do_the_redefine: xor a ... br /> msg_down: defm CC_AT,8,8,"Down ?",255
    msg_left ... msg_right: defm CC_AT,10,8,"Right ?",255
    ... msg_pause: defm CC_AT,12,8,"Pause ?",255
    ...
    polomint polomint October 2011 Development
  • Up/Down Left/Right scrollCan anybody give a newbie some pointer to simple one char scrolling by pixel? I've looked at a lot of resources, but as you can imagine, it's all a …

    ... ,0,128,64,64,64,64,128,0
    db 7,8,20,20,16,23,8,7,128,64 ... ,160,160,32,160,64,128
    db ... ,0,128,64,64,64,64,128,0
    db 7,8,20,20,16,23,8,7,128,64 ... ,160,160,32,160, Turkwel Turkwel November 2011 Development
  • Loading screen easter eggs[url]http://equ.in/ox/spectrum/eggs/screens.php[/url] maybe it's mentioned here before.. also it shows some credits that were uncredited before..e.g…

    ... /> pixelByteOffset = xAttr+((yAttr%8)*ATTR_WIDTH)+((yAttr/8)*ATTR_WIDTH*8*8);
    for (accumulator = 0 ... ,iterator = 0; iterator < 8 ...
    lfaria lfaria November 2011 Games
  • Loading screen easter eggs[url]http://equ.in/ox/spectrum/eggs/screens.php[/url] maybe it's mentioned here before.. also it shows some credits that were uncredited before..e.g…

    ... for invisible (with same INK and PAPER) info
    LF ... pixelByteOffset = xAttr+((yAttr%8)*ATTR_WIDTH)+((yAttr/8)*ATTR_WIDTH*8*8);
    for (accumulator1 ... 255,iterator = 0; iterator < 8; iterator++) {
    accumulator1 |= ...
    lfaria lfaria November 2011 Games
  • Loading screen easter eggs[url]http://equ.in/ox/spectrum/eggs/screens.php[/url] maybe it's mentioned here before.. also it shows some credits that were uncredited before..e.g…

    ... looking for invisible (with same INK and PAPER) info
    LF ... pixelByteOffset = xAttr+((yAttr%8)*ATTR_WIDTH)+((yAttr/8)*ATTR_WIDTH*8*8);
    if ((attribute ... 255,iterator = 0; iterator < 8; iterator++) {
    accumulator1 |= buff ...
    lfaria lfaria November 2011 Games
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... ; ???
    L4 LD B,8 ;paper black ink white???
    LD C,32 ... not finished
    LD B,8 ; paper black ink white
    LD C ...
    ooze48k ooze48k December 2011 Development
  • BackgroundDoes anyone know how i would create a background similar to [URL=http://imageshack.us/photo/my-images/42/backgroundmockup.png/][IMG]http://img42.ima…

    ... /> [QUOTE]L4 LD B,8 ;paper black ink white???[/QUOTE]
    No ... br /> No, 32 = Black ink, Green Paper.
    [QUOTE]L1 LD ... lost[/QUOTE]
    Black ink on black paper (you might want to ... ...
    [QUOTE]LD B,8 ; paper black ink white[/QUOTE]
    No, ...
    ccowley ccowley December 2011 Development
  • Annoying colour issues with UDGsMe again... Flush with the success of finding the latest version of BASin to play with I tried to buff the graphics of the various screen items All…

    [QUOTE=mcleod_ideafix;596252]INK 9 calculates the ink of each character to be ... upon the paper colour so the contrast between ink and paper is as ... />
    Funny, I understood the INK/PAPER 8 idea but I never actually ...
    Morkin Morkin January 2012 Sinclair Basic
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ATTR

    a block of ... /> so a green paper square with yellow ink woukd be given the ... .
    paper 4
    ink 6
    cls
    print attr (0,0 ... line like

    if attr(x,y)=38 then gosub ...
    ASH-II ASH-II January 2012 Sinclair Basic
  • Is there a limit to the numberof variables you can have in BASIC..... Reason I ask is I've got an idea....but using my "lowest common denominator" approach to code I fear that I'…

    ... PAPER 0: BORDER 0: CLS :
    20 REM LET a1=ATTR (1 ... yplayer=5
    50 PAPER 0: INK 1: PRINT AT 1,1 ... =yplayer+1
    71 IF ATTR (xplayer,yplayer)=1 THEN GO ... TO 200
    80 INK 2: PRINT AT xplayer,yplayer ... GO TO 60
    200 INK 2: PRINT AT 10,10 ...
    Wookiee Wookiee 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…

    ... to any atribute N*8+N, this is, PAPER = INK) before loading the ... differ from:

    PAPER 0: INK 0: CLS

    Paddy
    Paddy Coleman Paddy Coleman January 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... screen full of alternating paper lines where one line ... BORDER 1: PAPER 0: INK 7: CLS
    110 REM BRIGHT 1: ... FOR y=3 TO 19 STEP 2: PRINT PAPER ... /> 130 REM PAPER=CHR$ 17
    140 REM BRIGHT=CHR$ 19< ... 170 REM
    180 REM BRIGHT 1
    190 LET c ...
    Paddy Coleman Paddy Coleman February 2012 Sinclair Basic
  • DATA vs PRINT and OVERjust messing about and came across this alternative way of drawing a map....now before I start mucking about with my actual program.....is there any …

    ... 1: PAPER 0: INK 7: CLS
    110 REM BRIGHT 1: ... FOR y=3 TO 19 STEP 2: PRINT PAPER ... 130 REM PAPER=CHR$ 17
    140 REM BRIGHT=CHR$ 19< ... 170 REM
    180 REM BRIGHT 1
    190 LET c ...

    10 PAPER 0: BORDER 0: BRIGHT 1: CLS : REM setup ...
    SKR SKR February 2012 Sinclair Basic
  • Routine for clearing screenI was looking for a 'nice' way of clearing a screen of graphics in Z80. After a ridiculous amount of time mucking around, this is the best and most …

    ... 64+128,128,64+128,64,64+128,32,64+128,16
    db 64+128,8,64,127,64+128,4,64,191
    db 64+128,2,64 ...
    ub880d ub880d March 2012 Development
  • Fix attribute clash in emulatorWould it be difficult to implement a feature for an emulator that "fixes" the attribute clash on the fly in games?

    ... to appear as 8 shades each of the PAPER and INK colours assigned ...
    joefish joefish April 2012 Emulators
  • Dimming the screen...Hi Folks, I was hoping someone on here could help me with a wee machine code routine. I have written the following example in BASIC: [CODE]100 REM…

    ... 63540
    150 BORDER 0: PAPER 0: INK 7: CLS : PRINT AT ... 1,0; INK 7;"\* "; INK 4;"Pea"; INK 5;"Sea "; INK 7;"Software ";TAB ...
    220 REM
    230 BRIGHT 1: FOR y=2 TO ... 31: PRINT AT y,x; PAPER 1+INT (RND*7);" ": NEXT ...
    Paddy Coleman Paddy Coleman May 2012 Development
  • How frequent is the flash switching?Hello All, A quick question if I may be so bold :) Is there any documentation on how fast the flash is switched? I've found this but I'm not sure i…

    ... produces the FLASH attribute mode by toggling the INK and PAPER bits once ...
    chev chev May 2012 Emulators
<1…11121314151617…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
flash 5.4K 7.5K
128 9.4K 14.8K
bright 3K 4.5K
64 6.9K 10.9K
paper 6.8K 9.8K
8 30.2K 46.2K
ink 2.5K 5.8K
attr 692 1.3K

Related Threads

  • What is difference between "128" and "128+"?What is the difference between a "Spectrum 128" and a "Spectrum 128+" ??<br /> <br /> And I am not talking about the different looking +2's, etc.<br …
  • Changing MP3's from 128+ to just 128I have a number of MP3's that are bigger than 128 bit rate and i want to convert them all in one go to 128. <br /> <br /> Could you guys recommend s…
  • Change PAPER and INK, but nothing else?Can you in BASIC change the colour attributes in the screen without changing what is already printed at that location? I.e. change the PAPER and INK,…
  • Enterprise 64/128 thingimagigYeah, I know I'm a dim-bulb but I'm curious...<br /> <br /> Whats this do?<br /> <br /> [url]http://cgi.ebay.co.uk/ENTERPRISE-64-128-SPECTRUM-EMULATO…
  • Famous 8 x 8 graphicsHi All,<br /> <br /> Part of a game I'm writing involves collecting falling 8x8 graphics, one level will be fonts (got this bit sorted) and another w…
  • List of 128 only games and 128 games that were different to the 48k versions.Can anyone think of any 128 games that were different to 48k and i'm not talking about music enhancments but more graphical,or speed or bigger maps e…
  • bright light bright lightfeel like a flippin gremlin today... due to an odd light bulb..<br /> <br /> dunno if anyone else has had this with fluorescent light , the tube sort…
  • ANN: Lunar Jetman for Window Phone 7/8/8.1Finally... after work getting in the way of play... it's released!!!<br /> <br /> Lunar Jetman is a tough cookie (pun intended :lol: ), in my opinion…
  • FS] Enterprise 64, 128 and SVI 728 MSXI have a few juicy spares or repairs machines up on auction atm [URL="http://www.ebay.co.uk/sch/microsprout0161/m.html?item=281382588559&amp;hash=ite…
  • The flash feature (graphics attr)Flash feature on speccy is not an artist-friendly thing. But sometimes it is useable...<br /> Do you know any good use of flash in games? For exampl…

Related Searches

  • z88dk paper ink
  • ink 8
  • change ink and paper colour
  • change ink and paper colour basic
  • paper 8 flash 128
  • flash 128 bright 64 paper 8 ink
  • paper same ink reveal
  • attr paper
  • attribute flash bright
  • basic attr flash
  • attr bright
  • attr bright basic
  • attr basic flash beight ink
  • attr basic flash bright ink
  • paper 8
  • paper 8 transparent
  • 01320 print at 0 paper 8 ink a message that is easy to read
  • 2000 let atr attr y x tinta 8 int papel 63 return
  • alien 8 128
  • attr ink flash

Copyright © 2024 World of Spectrum