Nakazoto / Hellorld

A collection of the greatest programming on the planet!
21 stars 3 forks source link

Hellord! on Omen Alpha #3

Closed Kulicheg closed 11 months ago

Kulicheg commented 1 year ago

Hellord! on Omen Alpha SBC upgraded for CP/M (https://github.com/omenmicro/alpha) IMG_20231024_224741 terminal code src.txt

            .ORG    8000h 
START:               
            LXI     H,MESSAGE 
            CALL    TXTOUT 
            HLT      

TXTOUT:              
            CALL    WAITOUT 
            MOV     A,M 
            ANI     07Fh
            OUT     0DFh 
            MOV     A,M 
            ANI     80h 
            RNZ      
            INX     H 
            JMP     TXTOUT 
WAITOUT:             
            IN      0DEh 
            ANI     02h 
            JZ      WAITOUT 
            RET      
MESSAGE:             
            .ISTR   "HELLORD!"
8000    21 1F 80 CD 07 80 76 CD 17 80 7E E6 7F D3 DF 7E
8010    E6 80 C0 23 C3 07 80 DB DE E6 02 CA 17 80 C9 48
8020    45 4C 4C 4F 52 44 A1 00 00 00 00 00 00 00 00 00
Nakazoto commented 11 months ago

Took me bloody forever, but I got the Omen Alpha added in! Thanks for the submission! https://github.com/Nakazoto/Hellorld/wiki/Homebrew-Computers#kulichegs-omen-alpha