User Tools

Site Tools


8-bit-print

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
8-bit-print [2016/06/03 16:47] – created darkbyte8-bit-print [2017/02/16 13:22] (current) darkbyte
Line 1: Line 1:
 +====8-bit text print routine====
 +
 +----
 +
 +//syntax is for sjasmplus//
 +
 <code z80> <code z80>
 ;8-bit text print (32 columns) by Universum (c)1992, taken from ASM&ZXS book ;8-bit text print (32 columns) by Universum (c)1992, taken from ASM&ZXS book
 ;sjasmplus formatting by z00m/SinDiKAT (c)2016 ;sjasmplus formatting by z00m/SinDiKAT (c)2016
-;input: hl=text address, (printpos)=print position+;input: hl=text address, (printpos)=print position, font=font position
  
 ; device zxspectrum48 ; device zxspectrum48
Line 65: Line 71:
  
 text: db "This is sample text." text: db "This is sample text."
- db 0+ db 0 ;text ends with 0 (zero)
  
 ; savesna "8bitprint.sna",demo ; savesna "8bitprint.sna",demo
 </code> </code>
 +
 +----
 +
 +**Navigation: [[general]] . [[math]] . [[graphic]] . [[sound]] . [[system]] . [[other]] . back to [[start]]**
8-bit-print.1464965221.txt.gz · Last modified: 2016/06/03 16:47 by darkbyte