2018-09-28 17:05:11 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Old s c h o o l b o x e d o u t p u t h e a d e r . B r k *
* multiple l i n e s y a y . H o w a b o u t a h y - *
* phenated w o r d ? *
* Looonglonglonglonglonglonglonglonglo *
* nglonglongword. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Throw i n a l i n e d i v i d e r . T h e s e *
* aren' t : *
* * ! *
* * *
* & XYZ *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
plataddr e q u $ 3 0 0 0 ;address only in platform file
2024-06-26 15:27:45 +00:00
* Short, u n b o x e d c o m m e n t h e r e ! !
* Two s p a c e s a f t e r . M o r e h y p -
* hens?
2018-09-28 17:05:11 +00:00
org $ 1 0 0 0
lda #$ 01 ;Comment!
2024-06-26 15:27:45 +00:00
* Comment r u l e r s c a n b e h e l p f u l i n f i n d i n t h e e d g e s o f n o t e s . C o m m e n t s a r e h y p h -
* enatingly f u n . L i k e t h e n o t e , t h i s g o e s o u t t o 8 0 c o l u m n s .
2018-09-28 17:05:11 +00:00
lda #$ 02 ;&another comment with &&s!
2024-06-26 15:27:45 +00:00
* Down t o 6 4 c o l u m n s t h i s t i m e . W h y 6 4 ? W h y n o t 6 4 . A r o s e , b y
* any o t h e r n a m e , w o u l d b r e a k t h e l i n e a t t h e s a m e p l a c e . O r h y -
* phen s p l i t .
2018-09-28 17:05:11 +00:00
lda #$ 03
2024-06-26 15:27:45 +00:00
* Ah, t h e c l a s s i c 4 0 - c o l u m n l i m i t a t i o n . . .
* brings b a c k m e m o r i e s . O f , y o u k n o w , h -
* yphenated t h i n g s .
2018-09-28 17:05:11 +00:00
lda #$ 04
2024-06-26 15:27:45 +00:00
* Thirty c o l u m n s . ' c a u s e f o r t y
* felt l i k e t o o m a n y . O h , h y p -
* henation!
2021-11-04 19:59:15 +00:00
lda #$ 05 ;comment ending in backslash\
2018-09-28 17:05:11 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Short b o x c o m m e n t , 8 0 c o l s . *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2021-11-04 19:59:15 +00:00
lda #$ 06 ;comment, with, commas \\ \" \/ \\\
2018-09-28 17:05:11 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Choppy *
* *
* box *
* *
* comment *
* *
* 6 4 cols *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
lda #$ 07
2019-11-02 02:39:08 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Some n o n - A S C I I s t u f f : *
* † • <EFBFBD> ␇ *
* ( right s i d e o f b o x l o o k s p u s h e d o v e r o n - s c r e e n b e c a u s e f o n t *
* isn' t f u l l y m o n o ) *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2018-09-28 17:05:11 +00:00
lda #$ 08
2019-11-02 02:39:08 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Specific l i n e b r e a k c a s e a t e n d o f . *
* Sentence. *
* Alternate v e r s i o n f o r s e m i c o l o n z z . *
* Output. *
* *
* Same t h i n g b u t w i t h t h r e e s p a c e s z z . *
* Three! *
* Again w i t h t h e t h r e e s p c e s b e t w e e n . *
* Things. *
* *
* Try t o m a k e i t t h e v e r y l a s t t h i n g . . *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
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
2024-07-04 23:04:33 +00:00
jmp L 1 0 6 2
2018-09-28 17:05:11 +00:00
2024-07-04 23:04:33 +00:00
dfb $ e a
2018-09-28 17:05:11 +00:00
bytes h e x 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 a0 b0 c0 d0 e 0 f00 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 a0 b0 c0 d0 e 0 f ;Comment at the end of a lengthy bulk hex item might overflow various things, but could be wrapped.
hex 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 a0 b0 c0 d0 e 0 f00 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 a0 b0 c0 d0 e 0 f
2024-07-04 23:04:33 +00:00
L1 0 6 2 b i t p l a t a d d r ;Pull in plataddr to see the comment on the platform file entry.
2024-07-06 21:54:09 +00:00
*
* A t r i v i a l f a n c y c o m m e n t . N o t h i n g s p e c i a l a b o u t i t a t a l l . G o o n a b o u t y o u r
* business.
*
2024-07-04 23:04:33 +00:00
lda #$ 10
2024-07-07 15:48:58 +00:00
* Check f o r s u r r o g a t e p a i r s p l i t t i n g . 1 / 2 s h o u l d b e s p l i t :
* zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzxxxxxxxxxxxxxxxxxxx1
* 2 x
* zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzUnicode_ C h a r a c t e r _ “
* 😊 ” _ ( U+ 1 F 6 0 A )
2024-07-04 23:04:33 +00:00
lda #$ 11
2024-07-07 15:48:58 +00:00
* Test [ w i d t h ] . T h i s l i n e h a s t h e d e f a u l t w i d t h o f 8 0 , s o t h i n g s b r e a k w a y o u t
* here.
* Lines w i t h w i d t h =8 , w i d t h =10 , a n d w i d t h = * :
* 0 1 2 3 4 5 6
* 7 8 9 0 1 2 3
* 4 5 6 7 8 9 0
* 1 2 3 4 5 6 7
* 8 9
* 0 1 2 3 4 5 6 7 8
* 9 0 1 2 3 4 5 6 7
* 8 9 0 1 2 3 4 5 6
* 7 8 9
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
2024-07-04 23:04:33 +00:00
lda #$ 12
2024-07-07 15:48:58 +00:00
* Test [ h r ] a n d [ h r c h a r = ' #' ] .
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* x
* # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
* y
2024-07-04 23:04:33 +00:00
lda #$ 13
2024-07-07 15:48:58 +00:00
* Testing [ b r ] b l a n k l i n e s .
* three a b o v e , o n e b e l o w
2024-07-04 23:04:33 +00:00
lda #$ 14
2024-07-07 23:02:46 +00:00
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Full w i d t h b o x , w i t h d e f a u l t c h a r .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* stuff i n t h e b o x z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z z a a a a b b b *
* cccc *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
* ; Explicit char=';'. ;
* ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
* Now w i t h r e d u c e d w i d t h a n d c h a r = ' #' .
* # # # # # # # # #
* # A #
* # much #
* # small #
* # er #
* # box. #
* # # # # # # # # #
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Width c h a n g e s a r e i l l e g a l i n s i d e [ w i d t h =20 ] a b o x ( w i t h c h a r = ' * ' ) . W o r d w r a p *
* at t h e e n d . *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2024-07-04 23:04:33 +00:00
lda #$ 15
2024-07-07 23:02:46 +00:00
* Simple U R L h t t p s : / / e x a m p l e . c o m / , f a n c i e r U R L l i n k t e x t ( h t t p s : / / e x a m p l e . c o m / ) .
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* In a b o x h t t p s : / / e x a m p l e . c o m / . *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* A U R L m a y n o t h a v e a [ b o x ] . . . [ / b o x ] t a g i n s i d e .
* Nor m a y i t h a v e a n [ h r ] , [ b r ] , o r [ w i d t h =2 ] t a g .
* Line w r a p p i n g t h e c o n t e n t s o f a U R L l i n k a r e a s h o u l d w o r k + t h i s i s t h e a r e a
* inside+ ( h t t p s : / / e x a m p l e . c o m ) .
2024-07-04 23:04:33 +00:00
lda #$ 16
2024-07-07 23:02:46 +00:00
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ALL C A P S F O R E V E R Y T H I N G ( H T T P S : / / E X A M P L E . C O M / ) *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* SHORT
* LINES
* XXXXXXXXX
* X B O X E D X
2024-07-08 01:08:35 +00:00
* X- - - - - - - X
* X S T U F F X
2024-07-07 23:02:46 +00:00
* XXXXXXXXX
2024-07-04 23:04:33 +00:00
lda #$ 17
2024-07-07 23:02:46 +00:00
* Test s o m e f o l d i n g
* with [ w i d t h =20 ] .
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
* 9
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 -
* 8 9
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
* 9
* 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
* 9
* - 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8
* 9
* -
* 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
2024-07-04 23:04:33 +00:00
lda #$ 18
lda #$ 19
lda #$ 1 a
lda #$ 1 b
lda #$ 1 c
lda #$ 1 d
lda #$ 1 e
lda #$ 1 f
lda #$ 20
lda #$ 21
lda #$ 22
lda #$ 23
lda #$ 24
lda #$ 25
lda #$ 26
lda #$ 27
lda #$ 28
lda #$ 29
lda #$ 2 a
lda #$ 2 b
lda #$ 2 c
lda #$ 2 d
lda #$ 2 e
lda #$ 2 f
jmp : L 1 0 A 8
: L1 0 A 8 r t s