TIP: Click on subject to list as thread! ANSI
echo: cbm
to: HARRY POTTER
from: ED VANCE
date: 2014-12-26 23:58:00
subject: C64 kernal return entry?

12-15-14 00:23 Harry Potter wrote to All about C64 kernal return entry?

 HP> @MSGID: 
 HP> According to my documentation, $E891 is the address of the
 HP> kernal on the C64 that handles carriage returns.  However, when
 HP> I tried it, my emulator performs a warm restart.  Is my
 HP> documentation wrong?

Howdy! Harry,

The book "Mapping the Commodore 64" by Sheldon Leemon says:
$E891 "Output a Carriage Return".

My disassembly of the Kernal in my C=64 has:

E891 A2 00    LDX #$00
E893 86 D8    STX $D8
E895 86 C7    STX $C7
E897 86 D4    STX $D4
E899 86 D3    STX $D3
E89B 20 7C E8 JSR $E87C    ;Move Cursor to Next Line
E89E 4C A8 E6 JMP $E6A8    ;Return from Outputting a Character to the
                           ;Screen

You're Welcome!

... Of COURSE I talk to myself.  I LOVE intelligent conversation!
--- MultiMail/MS-DOS v0.49
--- SBBSecho 2.12-Linux
* Origin: telnet & http://cco.ath.cx - Dial-Up: 502-875-8938 (1:2320/105.1)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.