Sha256: 501dbeea9682ff06d567bf502d97920b4a20d48b6895f4a6f47db27929f0106b

Contents?: true

Size: 1013 Bytes

Versions: 7

Compression:

Stored size: 1013 Bytes

Contents

* Hello World for TI-99/4a computer with TMS9900 CPU
* by Frog ( http://frog.enlight.ru )
* 15 April 2016
*
****************************************************************************

        DEF     START

WRKSP   EQU     >8300

VDPWD   EQU     >8C00           * VDP RAM write data
VDPWA   EQU     >8C02           * VDP RAM read/write address


START   LIMI    0               * disable interrupts
        LWPI    WRKSP           * set default workspace

* set VDP RAM start address (low and high byte)

        LI      R0,>0000
        ORI     R0,>4000
        SWPB    R0
        MOVB    R0,@VDPWA
        SWPB    R0
        MOVB    R0,@VDPWA

        LI      R1,HELLOWORLD   * ascii string address
        LI      R2,12           * total chars

NEXTCHAR
        MOVB    *R1+,@VDPWD     * put next char on screen
        DEC     R2
        JNE     NEXTCHAR

LOOPBACK
        JMP LOOPBACK            * stop and do nothing


HELLOWORLD
        TEXT 'HELLO WORLD!'     * string data
        BYTE 0

        END

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
language_templates-0.1.5.2 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.5.1 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.5 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.4 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.3 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.2 bin/languages/a/assembler_tms9900_ti99_4a.asm
language_templates-0.1.1 bin/languages/a/assembler_tms9900_ti99_4a.asm