How to shadow a command on an Apple IIe computer

3 posts / 0 new
Last post
Offline
Last seen: 2 weeks 3 days ago
Joined: Nov 22 2024 - 04:25
Posts: 1
How to shadow a command on an Apple IIe computer

Hello all,

I'm new to this forum. I had an Apple 2 when I was a kid and have recently been playing with an emulator.I was wondering if there was a way to shadow a command such as LIST or CATALOG on an Apple IIe?Thanks in advance for your help,

Elbe

mmphosis's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: Aug 18 2005 - 16:26
Posts: 442
What does "shadow a command" mean?

Do you want to create an alias/synonym, or override an existing command, or something else?

 

In software, everything is possible but nothing is free.

mmphosis's picture
Offline
Last seen: 2 weeks 2 days ago
Joined: Aug 18 2005 - 16:26
Posts: 442
^L = LIST

Here is a two-liner Applesoft program that installs  an input hook that will LIST your program when you press CTRL + L.

 

 1  FOR I = 768 TO 820: READ B: POKE I,B: NEXT : DATA32,27,253,201,140,208,43,165,51,201,221,208,35,165,118,201,255,208,29

 2  POKE 56,0: POKE 57,3: CALL 1002: DATA169,76,141,0,2,169,73,141,1,2,169,83,141,2,2,169,84,141,3,2,169,141,141,4,2,162,4,208,2,169,140,96,140,96

Log in or register to post comments