EASy68K  
It is currently Sat Dec 16, 2017 1:05 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Log file output
PostPosted: Wed May 18, 2011 5:16 pm 
Offline

Joined: Mon Dec 27, 2004 11:40 pm
Posts: 318
Output log, text only, does not capture all the supported characters.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 3:50 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
The ASCII characters $20 thru $7F were the same in the display and log file in a quick test I ran. Which characters are missing?

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 9:38 pm 
Offline

Joined: Mon Dec 27, 2004 11:40 pm
Posts: 318
Sorry, I should have been clearer. It's the supported control characters, except [CR] and [LF], that don't get captured.

Lee.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 19, 2011 11:58 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
Next question,

Currently the simulator supports the following control chars:

$07 Bell
$08 Backspace
$09 Horizontal Tab
$0A Line Feed
$0B Vertical Tab
$0C Form Feed
$0D Carriage Return

The only control character sent to the log file is $0A Line Feed.

Should the above control characters simple be written to the log file?

Should all characters $00 through $FF be written to the log file?

_________________
Prof. Kelly


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 20, 2011 8:50 am 
Offline

Joined: Mon Dec 27, 2004 11:40 pm
Posts: 318
Quote:
The only control character sent to the log file is $0A Line Feed.

.. and it's sent as two characters $0D,$0A which, as I usually either explicitly prefix all line feeds with carriage returns or use tasks that do, I hadn't noticed.

Quote:
Should the above control characters simple be written to the log file?

Should all characters $00 through $FF be written to the log file?

I think that all supported characters that are output to the screen should be written to the log file as they are. That way the user has an accurate log of what was output.

Lee.


Top
 Profile  
 
 Post subject: Log output
PostPosted: Mon May 23, 2011 11:55 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1056
Sim68K v5.11.0

Logs all characters written to screen. (I hope)

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group