/[projet1]/public/oric/demos/OricTech/code/sector_2-microdisc.asm
Defence Force logotype

Diff of /public/oric/demos/OricTech/code/sector_2-microdisc.asm

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

revision 1403 by Jede, Mon Apr 10 18:53:46 2017 UTC revision 1404 by Jede, Thu Apr 20 05:41:39 2017 UTC
# Line 145  read_one_sector Line 145  read_one_sector
145          ; Write the track number in the FDC data register          ; Write the track number in the FDC data register
146          stx FDC_data          stx FDC_data
147    
148            
149            .dsb ((FDC_drq&3)-((*+3)&3))&3,$ea      
150  wait_drive2  wait_drive2
         .dsb ((FDC_drq&3)-((*+3)&3))&3,$ea  
151          lda FDC_drq                             ; We are waiting for the drive maybe not useful if drive is ready after the eprom boot          lda FDC_drq                             ; We are waiting for the drive maybe not useful if drive is ready after the eprom boot
152          bmi wait_drive2          bmi wait_drive2
153                    
# Line 205  waitcommand Line 206  waitcommand
206  fetch_bytes_from_FDC  fetch_bytes_from_FDC
207          lda FDC_drq          lda FDC_drq
208          bmi fetch_bytes_from_FDC          bmi fetch_bytes_from_FDC
209          .dsb ((FDC_data&3)-((*+3)&3))&3,$ea          ;.dsb ((FDC_data&3)-((*+3)&3))&3,$ea
210          lda FDC_data          lda FDC_data
211  __auto_write_address  __auto_write_address
212          sta FLOPPY_LOADER_ADDRESS,y          sta FLOPPY_LOADER_ADDRESS,y

Legend:
Removed from v.1403  
changed lines
  Added in v.1404

  ViewVC Help
Powered by ViewVC 1.1.26