2018-09-28 17:05:11 +00:00
;***************************************
;* Old school boxed output header. *
;* Brk *
;* multiple lines yay. How about a *
;* hy-phenated word? *
;* Looonglonglonglonglonglonglonglongl *
;* onglonglongword. *
;***************************************
;* Throw in a line divider. These *
;* aren't: *
;* *! *
;* * *
;* &XYZ *
;* *
;***************************************
.setcpu " 6 5 0 2 "
plataddr = $ 3 0 0 0 ;address only in platform file
;Short, unboxed comment here!!
2019-11-02 02:39:08 +00:00
;Two spaces after. More hyp-
2018-09-28 17:05:11 +00:00
;hens?
2018-11-18 22:36:03 +00:00
; .segment "SEG000"
2018-09-28 17:05:11 +00:00
.org $ 1 0 0 0
lda #$ 01 ;Comment!
;Comment rulers can be helpful in findin the edges of notes. Comments are hyph-
;enatingly fun. Like the note, this goes out to 80 columns.
lda #$ 02 ;&another comment with &&s!
;Down to 64 columns this time. Why 64? Why not 64. A rose, by
;any other name, would break the line at the same place. Or hy-
;phen split.
lda #$ 03
;Ah, the classic 40-column limitation...
;brings back memories. Of, you know, h-
;yphenated things.
lda #$ 04
;Thirty columns. 'cause forty
;felt like too many. Oh, hyp-
;henation!
lda #$ 05
;*******************************************************************************
;* Short box comment, 80 cols. *
;*******************************************************************************
lda #$ 06
;***************************************************************
;* *
;* Choppy *
;* *
;* box *
;* *
;* comment *
;* *
;* 64 cols *
;* *
;***************************************************************
lda #$ 07
2019-11-02 02:39:08 +00:00
;***************************************************************
;* Some non-ASCII stuff: *
;* †•<E280A0> ␇ *
;* (right side of box looks pushed over on-screen because font *
;* isn't fully mono) *
;***************************************************************
2018-09-28 17:05:11 +00:00
lda #$ 08
2019-11-02 02:39:08 +00:00
;***************************************
;* Specific line break case at end *
;* of. Sentence. *
;* Alternate version for semicolon zz. *
;* Output. *
;* *
;* Same thing but with three spaces *
;* zz. Three! *
;* Again with the three spces between. *
;* Things. *
;* *
;* Try to make it the very last *
;* thing.. *
;***************************************
2018-09-28 17:05:11 +00:00
lda #$ 09
lda #$ 0 a
lda #$ 0 b
lda #$ 0 c
lda #$ 0 d
lda #$ 0 e
lda #$ 0 f
bit p l a t a d d r ;Pull in plataddr to see the comment on the platform file entry.
rts
bytes : .byte $ 00 , $ 0 1 , $ 0 2 , $ 0 3 , $ 0 4 , $ 0 5 , $ 0 6 , $ 0 7 , $ 0 8 , $ 0 9 , $ 0 a,$ 0 b ,$ 0 c ,$ 0 d ,$ 0 e ,$ 0 f ;Comment at the end of a lengthy bulk hex item might overflow various things, but could be wrapped.
.byte $ 0 0 , $ 0 1 , $ 0 2 , $ 0 3 , $ 0 4 , $ 0 5 , $ 0 6 , $ 0 7 , $ 0 8 , $ 0 9 , $ 0 a,$ 0 b ,$ 0 c ,$ 0 d ,$ 0 e ,$ 0 f
.byte $ 0 0 , $ 0 1 , $ 0 2 , $ 0 3 , $ 0 4 , $ 0 5 , $ 0 6 , $ 0 7 , $ 0 8 , $ 0 9 , $ 0 a,$ 0 b ,$ 0 c ,$ 0 d ,$ 0 e ,$ 0 f
.byte $ 0 0 , $ 0 1 , $ 0 2 , $ 0 3 , $ 0 4 , $ 0 5 , $ 0 6 , $ 0 7 , $ 0 8 , $ 0 9 , $ 0 a,$ 0 b ,$ 0 c ,$ 0 d ,$ 0 e ,$ 0 f