adapted to new parameters

git-svn-id: svn://svn.cc65.org/cc65/trunk@381 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg
2000-10-18 23:47:42 +00:00
parent 5747fcd976
commit e9e7fd4d31
2 changed files with 32 additions and 9 deletions

View File

@@ -6,17 +6,19 @@
; on the Atari this function is a dummy, it returns
; cylinder and head 0 and as sector the sectnum it got
;
; void __fastcall__ _dio_snum_to_chs(_sectnum_t sect_num,
; unsigned int *cyl,
; unsigned int *head,
; unsigned int *sector);
; void __fastcall__ _dio_snum_to_chs(_dhandle_t handle,
; _sectnum_t sect_num,
; unsigned int *cyl,
; unsigned int *head,
; unsigned int *sector);
; _dhandle_t - 16bit (ptr)
; _sectnum_t - 16bit
;
.export __dio_snum_to_chs
.include "atari.inc"
.importzp ptr1,ptr2
.import popax
.import popax,addsp2
.proc __dio_snum_to_chs
@@ -46,6 +48,8 @@
txa
sta (ptr1),y
jsr addsp2
rts
.endproc