/[projet1]/public/oric/demos/SlideShowDemo/code/disk_info.h
Defence Force logotype

Diff of /public/oric/demos/SlideShowDemo/code/disk_info.h

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

revision 1045 by dbug, Sun Dec 15 11:47:51 2013 UTC revision 1046 by dbug, Sat Dec 21 13:50:30 2013 UTC
# Line 2  Line 2 
2  ; http://oric.free.fr/programming.html#disc  ; http://oric.free.fr/programming.html#disc
3  ;  ;
4  #define location_loader                 $fc00           ; Need to match the information set in loader.asm  #define location_loader                 $fc00           ; Need to match the information set in loader.asm
 #define loader_track_position   0                       ; Location of the loader on the disk (track number)  
 #define loader_sector_position  4                       ; Location of the loader on the disk (sector number)  
5    
6  #define wait_status_floppy 30  #define wait_status_floppy 30
7    
8    #ifdef MICRODISC_LOADER
9    #define loader_track_position   0                       ; Location of the loader on the disk (track number)
10    #define loader_sector_position  4                       ; Location of the loader on the disk (sector number)
11    
12  #define FDC_command_register    $0310  #define FDC_command_register    $0310
13  #define FDC_status_register             $0310  #define FDC_status_register             $0310
14  #define FDC_track_register              $0311  #define FDC_track_register              $0311
15  #define FDC_sector_register             $0312  #define FDC_sector_register             $0312
16  #define FDC_data                                $0313  #define FDC_data                                $0313
17    #else
18    #ifdef JASMIN_LOADER
19    #define loader_track_position   0                       ; Location of the loader on the disk (track number)
20    #define loader_sector_position  8                       ; Location of the loader on the disk (sector number)
21    
22    #define FDC_command_register    $03f4
23    #define FDC_status_register             $03f4
24    #define FDC_track_register              $03f5
25    #define FDC_sector_register             $03f6
26    #define FDC_data                                $03f7
27    #endif
28    #endif
29    
30    
31  ;                                         ____________ bit 7: INTRQ state (only if bit 0 above has been set to 1) in negative logic so it's 0 if FDC requests an Interrupt.  ;                                         ____________ bit 7: INTRQ state (only if bit 0 above has been set to 1) in negative logic so it's 0 if FDC requests an Interrupt.

Legend:
Removed from v.1045  
changed lines
  Added in v.1046

  ViewVC Help
Powered by ViewVC 1.1.26