home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 5
/
DATAFILE_PDCD5.iso
/
utilities
/
z
/
zap
/
!Zap
/
3rdParty
/
Freeman
/
DemoText
next >
Wrap
Text File
|
1995-05-21
|
2KB
|
46 lines
\ >DemoText
\ ——————————————————————————————————————————————————————————————————————————
\ ZapSAsm Version 1.04 (21 May 1995)
\ ——————————————————————————————————————————————————————————————————————————
\ Colour demonstration... no, it's not supposed to be run...
\ Colours are personal things.. I mean, how do I know whether the blue
\ that you see and the blue that I see look the same..?
\ However, if you prefer less of the philosophy, you might just want to
\ change the colours so they look less garish. In my defence, I have
\ to point out that I set the defaults to be similar in character to the
\ colour modes already written.. I use different colours myself (well,
\ for a start, I use a white background, so cream's definitely out..)
#verbose
#NOENHANCE
\#xref
#include &.Source*
#PRINT"This semicolon will not be treated as a comment";A%
#PRINT"But this one will" ; heh, heh, colours conform to SAsm's syntax
\ (well, most of its syntax anyway...)
.Label stmfd (sp)!,{r10-r12,lr}
mov r0,#5
mov r1,#"A"+3
MOV R2,R3,LSR #8
.00 str r0,[location],#4
@macro helloworld "string parameter",variable%
.01 subs r0,r0,#1
BNE 00
ldmfd (sp)!,{r10-r12,pc}^
db &FFFF1111,"text",0
align
.macro FNdata("howdy",-1)
dd 42 \ is this meaningful?
equs "..probably not"
align
\ if you're a less exciting soul (or alternatively, more tasteful) then
\ you could set all the logical mode colours to the same physical colour
\ (grey, say) .. see if I care if you shun all my hard work.. :-)