/[projet1]/public/oric/demos/SlideShowDemo/code/loader.asm
Defence Force logotype

Diff of /public/oric/demos/SlideShowDemo/code/loader.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1024 by dbug, Sun Dec 15 09:42:42 2013 UTC revision 1025 by dbug, Sun Dec 15 11:47:51 2013 UTC
# Line 23  irq_save_a                     .dsb 1      ; To preserve t Line 23  irq_save_a                     .dsb 1      ; To preserve t
23  Initialize  Initialize
24          jmp StartUp          jmp StartUp
25    
26    #define LOADER
27    
28  ; This file is generated by the floppy builder  ; This file is generated by the floppy builder
29  #include "floppy_description.h"  #include "floppy_description.h"
30    
# Line 33  StartUp Line 35  StartUp
35          jsr SetUpIrqHandlers              jsr SetUpIrqHandlers    
36          jsr SoftHiresWithCopyCharset          jsr SoftHiresWithCopyCharset
37    
   
38          ;ldx #LOADER_FIRST_PICTURE          ;ldx #LOADER_FIRST_PICTURE
39          ;jsr LoadData          ;jsr LoadData
40          ;STOP(1)          ;STOP(1)
# Line 159  first_side Line 160  first_side
160          lda FileStartSector,x          lda FileStartSector,x
161          sta current_sector          sta current_sector
162    
163        ; FileSizeLow/FileSizeHigh
164          ; Number of sectors to load          ; Number of sectors to load
165          lda FileSectorCount,x            lda FileSizeHigh,x      
166          sta sectors_to_go          sta sectors_to_go
167            lda FileSizeLow,x
168            beq skip
169            inc sectors_to_go
170    skip    
171                    
172          ;          ;
173          ; Loop to read all the sectors            ; Loop to read all the sectors  

Legend:
Removed from v.1024  
changed lines
  Added in v.1025

  ViewVC Help
Powered by ViewVC 1.1.26