title Module from library C_1 : CBDOS name ('CBDOS') ; Do OS call ; Copyright (C) Werner Cirsovius ; Hohe Weide 44 ; D-20253 Hamburg ; Tel.: +49 040 4223247 ; Version 1.0 July 1994 ; ENTRY Reg C holds OS function number ; Reg pair (D)E holds parameter ; EXIT Accu and reg HL hold resulting code maclib c.lib entry $bdos $bdos: push ix ; Save all registers push iy push de push bc call BDOS ; .. do the call pop bc pop de pop iy pop ix ret end