home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 2
/
DATAFILE_PDCD2.iso
/
utilities
/
codemaker
/
CodeMaker
/
Exemples
/
!Exemple0
/
s
/
ScreUtils
< prev
Wrap
Text File
|
1992-12-19
|
2KB
|
56 lines
;------------------------------------------------------------------------------
; CodeMaker !Exemple0 : ScreUtils
; Frank Lyonnet 1992
;
; You can contact me on internet : lyonnet@ufrima.imag.fr .
; lyonnet@imag.fr .
; on french RTEL : bal ARCHETYPE .
; by mail : Frank Lyonnet
; 420 , Chemin de la Cassine
; 73000 Chambéry
; France
;------------------------------------------------------------------------------
GET h.RegNames
AREA |C$$code|, CODE, READONLY
EXPORT |clear_screen13|
;------------------------------------------------------------------------------
; clear_screen13
;------------------------------------------------------------------------------
; First param : pointer to screen area
;------------------------------------------------------------------------------
Cs_HeaderStart DCB "clear_screen13",0
ALIGN
Cs_HeaderEnd DCD &ff000000+Cs_HeaderEnd-Cs_HeaderStart
|clear_screen13|
STMFD r13!,{r4-r9,r10,r11,r14}
MOV r1,#0
MOV r2,#0
MOV r3,#0
MOV r4,#0
MOV r5,#0
MOV r6,#0
MOV r7,#0
MOV r8,#0
MOV r9,#0
MOV r10,#0
GBLA Ligne
Ligne SETA 1
WHILE Ligne<=2048
STMIA r0!,{r1-r10}
Ligne SETA Ligne+1
WEND
LDMFD r13!,{r4-r9,r10,r11,pc}^
END