05-15-2010, 06:23 PM
LCD Wrote:I designed ZX BASIC with that in mind from the beginning. There's a "ZX SYSTEM VARIABLE" used for Screen Address. But only PRINT and CLS make use of it at the moment: Drawing primitives relay in ROM PLOT routine which is fixed to 16384. Solution: The user might specify a "Adressable PLOT" flag, so the compiler also include a PLOT variant which also uses this variable.britlion Wrote:Interface is not the question. If you tell the compiler to use a screen area using command line,you won't be able to draw anything outside, not even the score an a panel. I think about defining Backbuffer area with a own BASIC Command: BACKBUFFERr xpos, ypos, width, height [,adress]
A variable adress of screen for all drawing routines (PLOT, PRINT, etc.) would allow to use a own screen buffer or second screen on Spectrum 128:
DRAW AT 49152; x, y (AT as optional modifier to define adress of screen)
:wink: