scene.org File Archive

File download

<root>­/­parties­/­2023­/­vccc23­/­christmas-diamonds/zbyniur_cpc_basic_vc3-2023.zip

File size:
12 438 bytes (12.15K)
File date:
2024-01-03 14:15:18
Download count:
all-time: 3

Preview

  • ZbyniuR_CPC_Basic_vc3-2023/Code - how to measure program size AND listing.PNG 7.40K
  • ZbyniuR_CPC_Basic_vc3-2023/FILE_ID.DIZ 948B
  • ZbyniuR_CPC_Basic_vc3-2023/Result - effect of program 'stars.bas' from dsk.PNG 3.85K
  • ZbyniuR_CPC_Basic_vc3-2023/STARS.BAS 230B
  • ZbyniuR_CPC_Basic_vc3-2023/ZbyniuR_CPC_Basic_vc3-2023.DSK 190.25K

file_id.diz

ZbyniuR_CPC_Basic_vc3-2023.zip

  this ZIP file contain:
Code - how to measure program size AND listing.PNG
Result - effect of program 'stars.bas' from dsk.PNG
STARS.BAS  - (with header)
ZbyniuR_CPC_Basic_vc3-2023.DSK   - (for emulator)
  and this  FILE_ID.DIZ


	Comment:
I hope we can use control codes in PRINT, which we have access for example by Ctrl+K. The regulations say nothing about this. It's hard to display as TXT on different system, because this codes are smaller than 32 in ASCII, but there is no POKE or assembly code, so it is still pure Basic. :)
On image I show how to measure the size of a Basic file in CPC. Just type twice:
?fre(0)   <- this show free memory for Basic.
First time after a reset and the second time after LOAD, but before RUN, because after RUN some variables occupied several bytes.
My version took 100 bytes. 
I believe DSK file is more comfy to use in emulator than BAS, so I add it. :)