Rev 3194 | Rev 3490 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3194 | Rev 3487 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | ;; |
56 | ;; |
57 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
57 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 58... | Line 58... | ||
58 | 58 | ||
Line 59... | Line 59... | ||
59 | include 'macros.inc' |
59 | include 'macros.inc' |
Line 60... | Line 60... | ||
60 | 60 | ||
Line 61... | Line 61... | ||
61 | $Revision: 3194 $ |
61 | $Revision: 3487 $ |
Line 693... | Line 693... | ||
693 | cli |
693 | cli |
Line 694... | Line 694... | ||
694 | 694 | ||
Line 695... | Line 695... | ||
695 | ; STACK AND FDC |
695 | ; STACK AND FDC |
696 | 696 | ||
Line 697... | Line 697... | ||
697 | call stack_init |
697 | call stack_init |
Line 698... | Line 698... | ||
698 | call fdc_init |
698 | ; call fdc_init |
Line 1996... | Line 1996... | ||
1996 | db 0 ;reserved |
1996 | db 0 ;reserved |
1997 | dd __REV__ |
1997 | dd __REV__ |
1998 | version_end: |
1998 | version_end: |
1999 | endg |
1999 | endg |
Line 2000... | Line 2000... | ||
2000 | 2000 | ||
2001 | sys_cachetodiskette: |
- | |
2002 | cmp ebx, 1 |
- | |
2003 | jne .no_floppy_a_save |
- | |
2004 | mov [flp_number], 1 |
- | |
2005 | jmp .save_image_on_floppy |
- | |
2006 | .no_floppy_a_save: |
- | |
2007 | cmp ebx, 2 |
- | |
2008 | jne .no_floppy_b_save |
- | |
2009 | mov [flp_number], 2 |
- | |
2010 | .save_image_on_floppy: |
- | |
2011 | call save_image |
- | |
2012 | mov [esp + 32], dword 0 |
- | |
2013 | cmp [FDC_Status], 0 |
- | |
2014 | je .yes_floppy_save |
- | |
2015 | .no_floppy_b_save: |
2001 | sys_cachetodiskette: ; << removed |
2016 | mov [esp + 32], dword 1 |
- | |
2017 | .yes_floppy_save: |
2002 | mov [esp + 32], ebx |
Line 2018... | Line 2003... | ||
2018 | ret |
2003 | ret |
2019 | 2004 | ||
2020 | uglobal |
2005 | uglobal |