PEEKAPOKE Although QL uses relative addressing peeks and pokes can be useful. Here a a selection of memory addresses collected by Timo Salmi. Some of the addresses may have different values depending on the QL rom version and the peripherals attached. The screen starts from 131072. One way of saving the screen is writing SBYTES mdv1_screen,2^17,2^15 The free memory can be obtained e.g. from function 18000 DEFine PROCedure f_mem 18010 RETurn PEEK_L(163856)-PEEK_L(163852) 18020 END DEFine f_mem Quite a number of similar peeks is provided on the files accompanying Digital Precision's TURBO compiler. PEEK_L(163872)/1024-256 returns memory expansion in kilobytes. (Its value will be 0, 256 or 512). POKE_W 163886,0 other commands ... time=PEEK_W(163886):PRINT time/50 can under some circumstances be used to measure elapsed time. However, if the commands in between include e.g. INPUT the counter will be muddled. Caps lock can be turned on by POKE 163976,255 and of by POKE 163976,0 POKE_W 163980,30 defines the delay before a key starts repeating 30 being the default. POKE_W 163982,2 defines the rate at which the key is repeated 2 being the default. POKE_W 163986,3 sets the multitasking toggle key in ACSII. The default 3 is CTRL C. E.g. after POKE_W 163986,9 the task which the input buffer is attached to is changed by pressing TABULATE instead of the familiar CTRL C.