/[projet1]/public/pc/tools/osdk/main/Osdk/_final_/lib2/rand.s
Defence Force logotype

Annotation of /public/pc/tools/osdk/main/Osdk/_final_/lib2/rand.s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1154 - (hide annotations)
Sun Aug 10 18:19:54 2014 UTC (5 years, 4 months ago) by dbug
File size: 297 byte(s)


1 dbug 1154 _rand
2     _random
3     ldx #$ff
4     jsr $E355
5     ldx $D2
6     lda $D1
7     rts
8    
9     _srandom
10     ldy #0
11     lda (sp),y
12     sta $FC
13     sta $FE
14     iny
15     lda (sp),y
16     sta $FB
17     sta $FD
18     lda #$80
19     sta $FA
20     rts

  ViewVC Help
Powered by ViewVC 1.1.26