scene.org File Archive

File download

<root>­/­parties­/­2022­/­vccc22­/­christmas_star_challenge/dadecoza_cpm_mbasic_vc3-2022.zip

File size:
1 152 576 bytes (1.10M)
File date:
2022-12-30 11:32:13
Download count:
all-time: 7

Preview

  • dadecoza_cpm_mbasic_vc3-2022/dadecoza_image_code.png 496.58K
  • dadecoza_cpm_mbasic_vc3-2022/dadecoza_image_result.png 628.28K
  • dadecoza_cpm_mbasic_vc3-2022/file_id.diz 802B
  • dadecoza_cpm_mbasic_vc3-2022/STAR.BAS 905B
  • dadecoza_cpm_mbasic_vc3-2022/STAR_MBASIC.BAS 768B

file_id.diz

STAR.BAS
Author: dadecoza
Category: Christmas Challenge
System:   CP/M (Z80)
Language: BASIC-80 (MBASIC)
Len source code: 905
Len exe file: 0
Len code only: 768
Instructions: Put the code in the same folder as mbasic, basica, pc-basic, or gwbasic from within the basic interpreter type LOAD"STAR.BAS" followed by the RUN command.
Description: The code is written for dumb terminals, meaning we can't place the characters on the screen anywhere we like (there is no "AT" or "LOCATE") and as such, we need to draw the star one line at a time starting at the top left.
Comments: The code was tested on MBASIC running under emulated CP/M 3 using z80pack. The host computer is a Raspberry Pi 1 B using the internal UART with a MAX232 and connected to a 1982 Hazeltine Esprit III serial terminal.