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 460 results in 0.001s
<1234567…16>
  • Clear command in z80Hi, How would I replicate what the basic clear command does in z80? Do I need to change the stack pointer as well as setting ramtop (23730)? If I se…

    ... as well as setting ramtop (23730)? If I set ramtop in my code ...
    Speccy_James Speccy_James February 2014 Development
  • run statement clears dimensional arraysis there any way round this? id rather not type goto 1 all the time, to stop this

    ... ","STKBOT","23651","STKEND","23653",
    "RAMTOP","23730"
    1015 DIM n(2 ... (1,7,2): PRINT VARS,RAMTOP:
    RANDOMIZE VARS:
    POKE ...

    3000 LET RAMTOP=FN p(23730):
    PRINT FN p ...
    Battle Bunny Battle Bunny June 2020 Sinclair Basic
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…

    ... some data areas above RAMTOP and wanting to make ... I needed to move RAMTOP without using CLEAR so that ... variables were preserved. Just poking RAMTOP isn't enough, as ... ;Change RAMTOP to "val" without clearing variables
    ;POKE 23730,lo_val: POKE ...
    Battle Bunny Battle Bunny November 2011 Sinclair Basic
  • Whats up wi mi speccy ? M RAMTOP no good 0:3I bought a speccy on ebay tried to load Mission Impossible but about 30 secs into loading it stopped and i got the error message ... M RAMTOP no good…

    I bought a speccy on ebay tried to load Mission Impossible but about 30 secs into loading it stopped and i got the error message ... M RAMTOP no good 0:3 ... I take it it means it has defective ram ?
    swordheart swordheart March 2007 Sinclair Miscellaneous
  • Lowest safe ramtop for various disk systems ?Can someone give info about lowest safe ramtop for various disk systems ?

    Can someone give info about lowest safe ramtop for various disk systems ?
    Fikee Fikee October 2010 Development
  • Screen2StringFurther to writing that BASIC one-liner to redirect CAT to a string I thought that I'd do a general redirection routine for anything which normally p…

    ... ; it starts 21 bytes above RAMTOP (the first 20 bytes being ... /> REM 23563=DEFADD; 23631=CHANS; 23730=RAMTOP
    REM so=standard channel ... /> 4 LET sd=FN p(23730)+1: LET ch=FN p ...
    Battle Bunny Battle Bunny May 2012 Sinclair Basic
  • 48K Memory MapHi, I'm having some trouble understanding the top of the 48K Memory Map. From reading elsewhere I have this as the memory map: 0 to 16383 - …

    ... myself that RAMTOP is 65367 by running '[code]PRINT (PEEK 23730+256 ...
    jonesypeter jonesypeter March 2016 Development
  • How to tell if I have a Spectrum ZX 16K or 48K?Hi all, I'm a total newbie to the good old Spectrum and I got three spectrums in one box together with som other old computers. The spectrums seem…

    ... ).
    * PRINT PEEK 23730+256*PEEK 23731 (RAMTOP) will print 32599 on ...
    Philip Kendall Philip Kendall March 2004 Sinclair Miscellaneous
  • New Compo IdeaI've had this idea and would like to know what do you think about it. I think that most of us here know how to code in BASIC. The problem with Specc…

    This is what I've compiled so far:

    [quote]Resources
    =========

    * Make all caps
    ---------------

    You can turn CAPS LOCK on or off using a simple poke to 23658:

    POKE 23658,8: REM CAPS ON
    ...
    na_th_an na_th_an April 2005 Development
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... bytes below RAMTOP. This 16-bit system variable (at 23730) contains the ... will overwrite the stack, assuming RAMTOP is at its default value ...
    Marko Marko April 2009 Emulators
  • Spin problems/issuesI am running Spin 0.666 and have noticed a few issues (some are bugs, some might be just me). I am using Vista sp1 (yeah I know!), and I've seen Dunn…

    ... bytes below RAMTOP. This 16-bit system variable (at 23730) contains the ... will overwrite the stack, assuming RAMTOP is at its default value ...
    jp jp April 2009 Emulators
  • Interface One - New FunctionalityAs you may (or may not) be aware the Interface One is a pretty powerful piece of kit. One of it's greatest features is being able to easily extended …

    ... code:
    [CODE];RAMTOP function: LET x=RAMTOP
    ;---------------------------------------------------
    ... so
    LD BC,(23730) ;Ramtop
    F_pistack RST calbas< ... remember however that the 'RAMTOP' function only was implemented ...
    roko roko July 2009 Development
  • Jumping to BASIC after importing 23296,1703Sorry for the confusing title. :-D Now that I've learned how to stop a game from starting after loading (in Fuse and Specemu), I have a few more que…

    ... in FLAGS
    ld hl, (23730) ; get RAMTOP
    inc hl ; increase ...
    Marko Marko September 2009 Sinclair Miscellaneous
  • Implementing goto on error condition...OK, so when I'm reading a file or directory on a network filesystem, when I reach EOF, it's not actually useful at all for ZX BASIC to stop the progr…

    ... ),A ;DFSZ=2
    HL=(23730) ;RAMTOP
    dec HL
    dec ...
    roko roko October 2009 Development
  • Load! Screen$ questionI've got a basic program listing in BASIN which among other things recalls a screen via Load! (I've Save!'ed a screen into memory before hand). How d…

    ... program would need to move RAMTOP higher on resuming. Note that ... +300: GO SUB 20: PRINT ramtop: PAUSE 0:
    LOAD ... br /> SAVE "screenprog"CODE 16384,ramtop-16384: GO TO 30
    LET ramtop=PEEK 23730+256*PEEK 23731:
    ...
    Battle Bunny Battle Bunny April 2011 Sinclair Basic
  • Calculating free memory...Hi Folks, I am using the following method to calculate the amount of free memory available to BASIC: [CODE]PRINT 65536-USR 7962[/CODE] Is this the…

    ... also thinking of using the RAMTOP variable to find the free ... :

    10 let ramtop = PEEK 23730+256*PEEK 23731
    20 ... *PEEK 23636
    30 print ramtop-basic

    However, the ...
    Arjun Arjun June 2011 Sinclair Basic
  • Calculating free memory...Hi Folks, I am using the following method to calculate the amount of free memory available to BASIC: [CODE]PRINT 65536-USR 7962[/CODE] Is this the…

    ... 7962
    20 let ramtop = PEEK 23730+256*PEEK 23731
    30 ... *PEEK 23654
    40 print ramtop-basic

    Results:
    Encarnado Encarnado June 2011 Sinclair Basic
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…

    ... resorting to CLEAR to move RAMTOP, thus preserving the variables and ... RAMTOP to "val" while preserving variables & GOSUBs
    ;POKE 23730,lo_val ... /> LD DE, (23730) ; 237 91 178 92 ;new RAMTOP
    LDDR ; 237 ...
    Battle Bunny Battle Bunny November 2011 Sinclair Basic
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…

    ... /> LD DE, (23730) ; 237 91 178 92 ;new RAMTOP
    LDDR ; 237 ...
    Battle Bunny Battle Bunny November 2011 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'…

    ... /> Try PRINT PEEK 23730+256*PEEK 23731 (ie. RAMTOP). If you're ... safer to place them above RAMTOP.
    Battle Bunny Battle Bunny January 2012 Sinclair Basic
  • .tapein load crashes if no CLEAR performed first(!)Hi Guys, Can anyone explain the following as it has be stumped: I came across an unexpected crash today when loading in a 16K block of code at 8000…

    ... 23730+256*PEEK 23731, USR here
    [/code]
    Which prints RAMTOP ... be a RAM fault, causing RAMTOP to be set lower than ...
    Battle Bunny Battle Bunny August 2012 Hardware
  • space available in bytes - questionHi, question: - if i create a *.txt file in pee cee: if empty it will show 0 bytes if i put text "abcde" it will show 5 bytes if i put texte (in 2 l…

    ... machine code, the area between RAMTOP and P_RAMT.

    ... For example, if RAMTOP was set low at 24999 ... P_RAMT-RAMTOP; ie. (PEEK 23732+256*PEEK 23733)-(PEEK 23730+256* ... PEEK 23731); would show another 40kb free above RAMTOP ...
    Battle Bunny Battle Bunny August 2012 Sinclair Basic
  • CAT!RAM and PUTRAMLast year sometime I posted a couple of routines to: * catalogue the 128k RAMdisk in BASIC; * move RAMTOP and the stacks from BASIC. CAT!RAM and PUTR…

    ... Files": RETURN
    REM move RAMTOP & m/c stack & ... /> 9905 LET r=FN p(23730): IF r>49151 THEN ... ,16+0
    REM restore RAMTOP & m/c stack & ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • CAT!RAM and PUTRAMLast year sometime I posted a couple of routines to: * catalogue the 128k RAMdisk in BASIC; * move RAMTOP and the stacks from BASIC. CAT!RAM and PUTR…

    ... code]
    ;Change RAMTOP to "val" while ...
    ld de,(23730) ;(RAMTOP) = old RAMTOP
    ex de, ... /> sbc hl,de ;(RAMTOP)-SP
    ld b ... 3) ;DE=new RAMTOP
    ld (23730),de
    COPYON ...
    Battle Bunny Battle Bunny December 2012 Sinclair Basic
  • 128 BASIC-compatible way of loading BASIC as code?On a 48K Speccy (or from 48 BASIC or USR 0 mode on a 128K machine), one can do a silly trick like this: [code];; load a 4000 byte BASIC program ld i…

    ... between models. The original RAMTOP, VARS and variables are ... /> 9004 LET RAMTOP=FN p(23730): POKE 23670,PEEK 23730: POKE 23671, ... 65368
    9006 REM restore RAMTOP & VARS, print restored ... 23681:
    PRINT clrto,bytes,RAMTOP,VARS,ELINE: STOP
    ...
    Battle Bunny Battle Bunny September 2013 Development
  • Documentation for SP1 for Z88DK?(I was going to post in [URL="http://www.worldofspectrum.org/forums/showthread.php?t=11729"]the other thread[/URL], so if a mod thinks this should go…

    ...

    #pragma output STACKPTR=23730 // place stack at $d000 at ... />
    my stackptr is at RAMTOP , out of the way (but ...
    slenkar slenkar November 2013 Development
<1234567…16>

Latest Posts

  • I bought an accoustic guitar. How do you play it?
    dm_boozefreek on 7:51PM
  • Goodbye Z80
    zx1 on 7:11PM
  • Happy 40th Birthday to the Amstrad CPC464!
    AndyC on 6:29PM
  • Another Birthday! The Game Boy Is 35!
    dm_boozefreek on 6:17PM
  • I am currently watching.....
    Antiriad2097 on 5:05PM
  • 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
  • New video about S-video modification on Issue two 48K Spectrum.
    Renegade on April 21
  • Elusive Strategy Games done by the Smaller or less Prolific Software Houses.
    harriusherbartio on April 21

HitBox

Word Docs Hits
ramtop 445 687
23730 56 76

Related Threads

  • Whats up wi mi speccy ? M RAMTOP no good 0:3I bought a speccy on ebay tried to load Mission Impossible but about 30 secs into loading it stopped and i got the error message ... M RAMTOP no good…
  • Lowest safe ramtop for various disk systems ?Can someone give info about lowest safe ramtop for various disk systems ?
  • tiny routine to shift RAMTOP & stackCompressing some data areas above RAMTOP and wanting to make the released space available for BASIC arrays, I needed to move RAMTOP without using CLE…
  • Issue 3B only sees 16k (and RAMTOP NO GOOD on loading)A ZX+ with issue 3B board that i got recently, does not see anything more than 32768 (sometimes 37267..) on "PRINT PEEK 23732 + PEEK 23733 * 256 (Ent…

Related Searches

  • ramtop
  • loader low ramtop
  • ramtop user textvoyage
  • lowest ramtop
  • break 23730
  • 256 byte align table ramtop error
  • on error ramtop
  • on_error ramtop
  • ramtop set
  • set ramtop
  • set ramtop routine
  • ramtop 23730

Copyright © 2024 World of Spectrum