?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1.         ifndef FILE_ASM
  2.         define FILE_ASM
  3.                
  4.         MODULE File
  5.                
  6. FileOpen
  7.         push ix,iy,hl,de
  8.         OS_OPENHANDLE
  9.         pop de,hl,iy,ix
  10.         or a
  11.         ret
  12.  
  13. FileRead
  14.         push ix,iy,de,bc
  15.         OS_READHANDLE
  16.         pop bc,de,iy,ix
  17.         xor a
  18.         ret
  19.  
  20. FileClose
  21.         push ix,iy,hl,de,bc
  22.         OS_CLOSEHANDLE
  23.         pop bc,de,hl,iy,ix
  24.         ret
  25.  
  26.         ENDMODULE
  27.  
  28.         endif
  29.