<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Sun, 09 Jun 2013 13:29:45 +0100
From   : jgh@... (J.G.Harston)
Subject: Acorn newline sequence

Does anybody have any ideas why Acorn ended up with their newline 
sequence of <10><13> instead of <13><10> as used everywhere else in the 
world? CP/M had been around for more than five years at the time the 
System and Atom were being coded, so it seems odd that Acorn's newline 
sequence was the other way around.

It wouldn't have taken any more space in the ROM:

FFE3: OSWRCH CMP #13       -->  OSNEWL LDA #13
FFE5:        BNE OSWRCH         OSASCI CMP #13
FFE7: OSNEWL LDA #10                   BNE OSWRCH
FFE9:        JSR OSWRCH                JSR OSWRCH
FFEC:        LDA #13                   LDA #10
FFEE: OSWRCH JMP (WRCHV)        OSWRCH JMP (WRCHV)

Though, it would result in the loss of the useful unofficial OSWRCR at 
&FFEC.

-- 
J.G.Harston - jgh@...      - mdfs.net
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>