Tuesday 19 September 2017

Some Small Things

Firstly the price of the new Q68 QL clone is :



Q68 board, 4Gb SDHC Card, SMSQ/E: £150.00 Black Case: £20 Belkin Black PS/2 spliter: £2.00

General Release date: 09/10/2017. Derek Stewart is making a register of interested buyers.

Secondly, non destructive pop up windows in programs. There have been many ways of doing this. There was and is a DIY toolkit set of keywords that will let Superbasic, QDOS programmers make and store and replace windows, W_STORE, W_CRUNCH, W_SHOW etc. The Turbo toolkit came with some Superbasic demos that could help do the same. Then there are the QPTR and Easypointer toolkits. Each way of making non destructive windows seems quite complex. Yet in SBASIC, the keyword OUTLN does the  job.

10 OPEN#1,"con_":OUTLN#1,xsize,ysize,xpos,ypos: CLS#1 does the job. The question is how to restore the previous screen contents. Again this is simple. The QPTR keyword WREST does the job.
20 WREST#1 restores the content overwritten by OUTLN.

Both keywords originally appeared in the QPTR toolkit. This puzzle is why only OUTLN became a standard SBASIC keyword.

No comments:

Post a Comment