🎁 Vintage Computing Christmas Challenge 2024 (VC³ 2024) 🎁
\O/
+--------+--------+
! Doctor ! !
!Snuggles! VC³ !
! ! 2024 !
!presents! !
! ! by !
! 3x CPC ! !
!+1x Wild! Logiker!
! ! !
+--------+--------+
!Language! Bytes !
! ! !
! BASIC ! 127 !
! CPM 2.2! 110 !
! Z80 ! 110 !
! ! !
!Sector42! 0 !
! ! !
+--------+--------+
Author: DrSnuggles
Category: Christmas Challenge and Wild
System: Amstrad CPC
Languages: Locomotive BASIC 1.1, WinApe Z80 ASM, CP/M 2.2 8080 ASM
Lengths:
Len source code:
- BASIC = 127
- CP/M = 573
- Z80 = 580
Len exe file:
- BASIC = 304
- CP/M = 128
- Z80 = 238
Len code only:
- BASIC = 174
- CP/M = 110
- Z80 = 110
Description:
In all versions i switched to MODE 0 (20 columns) and added a single SPACE at the end instead a CRLF.
1st BASIC version is just a concat to the final full string.
2nd CPM version uses PrintString and uses a single loop. Tried with two nested loops but went bigger.
3rd Z80 version needs to use more loops since there is only PrintChar available.
The Wild thing is the manual change of Sector 42 on DSK image, not sure if SETUP could do that.
Sector 42 is the CP/M config sector and the amount of chars to print fits quite good in it.
The size is 0 bytes since this space was already occupied on disc and ofc 42 is the answer ;)
Instructions:
INSERT disc into CPC real or emulated, i used WinApe.
For BASIC:
Type RUN"VCCC2024.BAS"
For Z80:
Type RUN"VCCC2024.BIN"
For Wild:
Type |CPM
For CPM:
Type |CPM
Type VCCC2024
Compile CP/M from source and run:
ASM VCCC2024.AAA
LOAD VCCC2024
VCCC2024
Comment:
On some screenshots from WinApe you may see additional chars on screen, this happened from screenshot.
I mixed upper and lower "o" with no effect to code.