home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / mbug / mbug039.arc / BASPATCH.ASC < prev    next >
Text File  |  1979-12-31  |  640b  |  24 lines

  1. ;This is a patch for MBASIC.COM Ver 5.21
  2. ;to enable a return from CP/M after an
  3. ;accidental exit.
  4. ;Assemble this patch then with DDT.COM
  5. ;Overlay MBASIC.COM, exit to CP/M and
  6. ;SAVE 96 MBASIC.COM
  7. ;SAVE 0 CONTINUE.COM, this will load an
  8. ;empty file and start exicution at 0100Hex
  9. ;Thats all there is to it.
  10. ;
  11. ;Now all you have to do to get back into
  12. ;BASIC is type CONTINUE >>RETURN<<
  13. org    0100h
  14.     jmp    6000h
  15. org    6000h
  16.     mvi    l,0c3h
  17.     mvi    h,06ah
  18.     shld    0100h
  19.     mvi    l,04dh
  20.     mvi    h,07ah
  21.     shld    0102h
  22.     jmp    5d8ch
  23. end
  24.