>> - Christian: entry.asm revamp to fix the CP/M call (review!) >> http://sf.net/tracker/?func=3Ddetail&aid=3D2421577&group_id=3D5109&atid= > =3D105109 > > anyone know of any CP/M like programs or applications to test these with?
There's some C library based on the CALL 5 but I never used it. My test case was setting up the correct registers (function in cl instead of ah, only functions 00h..24h valid) then using a "call 5" in DEBUG. (Be sure to use FreeDOS's DEBUG because MS-DOS's apparently corrupts the CALL 5 handler inside the PSP.) Here's an example DEBUG script: === CUT HERE === a mov ax, sp mov cl, 2 mov dl, 21 call 5 int 3 nop g q === CUT HERE === If the handler works, it will display an exclamation mark (Int21.02, display character) in front of the first line of DEBUG's register output. DEBUG should show the disassembled NOP or (depending on the version, maybe) the INT 03 on the next line. Make sure the displayed ax register equals sp, which it should do if the handler returns the stack correctly. If the handler doesn't work it might crash the system or do something random. Regards, Christian ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Freedos-kernel mailing list Freedos-kernel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-kernel