Shop OBEX P1 Docs P2 Docs Learn Events
VGA 1280x1024 tile driver question — Parallax Forums

VGA 1280x1024 tile driver question

ElectrodudeElectrodude Posts: 1,665
edited 2012-02-04 14:36 in Propeller 1
Hi

In vga_1280x1024_tile_driver_with_cursor.spin, line 451 reads:
djnz    cnt,#build_2y           'another two scan lines?

Line 457 reads:
cmp     cnt,phsb        wz      'sync enabled? (cnt=0)

I understand how special registers are used as variables in this program, but isn't cnt read-only and auto-updated? I don't understand this.

Thanks,
Electrodude

Comments

Sign In or Register to comment.