git @ Cat's Eye Technologies SixtyPical / semaphore-setup eg / rudiments / loop.60p
semaphore-setup

Tree @semaphore-setup (Download .tar.gz)

loop.60p @semaphore-setupraw · history · blame

// Include `support/${PLATFORM}.60p` before this source
// Should print ABCDEFGHIJKLMNOPQRSTUVWXYZ

define main routine
  trashes a, y, z, n, c
{
    ld y, 65
    repeat {
        ld a, y
        call chrout
        inc y
        cmp y, 91
    } until z
}