RESET.I

[Table of Contents]

The RESET.I include file resides on the Kyan Pascal 2.x Utilities Disk 1.


  • PROCEDURE Freeze_on_Reset;
  • PROCEDURE Reboot_on_Reset;


Source Code


PROCEDURE Freeze_on_Reset;
BEGIN
#A
  LDA #$FF ;poke 255 into
  STA $09  ;...BOOT? (9)
#
END;(* lockup on reset procedure *)

PROCEDURE Reboot_on_Reset;
BEGIN
#A
  LDA #$01 ;poke 1 into
  STA $09  ;...BOOT? (9)
  STA $244
#
END;(* reboot on reset procedure *)

No comments:

Post a Comment