EASy68K Forum Index  
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Welcome to the EASy68K forum. This is the place to discuss 68000 assembly language programming with EASy68K.
ASCII character problem

 
Post new topic   Reply to topic    EASy68K Forum Index -> EASy68K Questions
View previous topic :: View next topic  
Author Message
marc_256



Joined: 01 Nov 2009
Posts: 12
Location: Belgium

PostPosted: Mon Jan 25, 2010 5:30 am    Post subject: ASCII character problem Reply with quote

Hello,

I used for many years now my DOS assembler for 68K.
The DOS editor (BRIEF) let me use the full 8 bit ascii code.
So I used for my graphic display (320x240 px) the DOS graphic ascii characters.
This to draw squares and lines on my display. (single and double)

Now I'm converting all to Easy68K,
and the problem is that I lose all my graphic ascii characters.
I try to load other character sets but this will not work.

Q1)
Can I still use this characters ?

Q2)
How must I do this ?

Q3)
Can I load extra char. sets, other than courier, courier new ?

Thanks,
Marc
_________________
Greetings from Belgium
Hobby robot builder
www.marc-systems.be
Back to top
profkelly



Joined: 16 Dec 2004
Posts: 596
Location: Monroe County Community College, Monroe Michigan, U.S.A.

PostPosted: Thu Jan 28, 2010 9:18 am    Post subject: Reply with quote

The simulator uses 7bit ASCII display. The Windows fonts do support 16bit fonts so it might be possible to add support for extended character sets to the simulator.

The simulator supports graphics. The Conway's Life example program uses graphics and mouse support to create a simple menu.
_________________
Prof Chuck Kelly
Back to top
marc_256



Joined: 01 Nov 2009
Posts: 12
Location: Belgium

PostPosted: Thu Jan 28, 2010 2:24 pm    Post subject: Reply with quote

Hai,

Thanks for the answer,

But what I mean is the MS DOS character code 437.
See on http://en.wikipedia.org/wiki/Code_page_437

And I do not need the simulator for this but the editor page.
To use these character code.

Marc
_________________
Greetings from Belgium
Hobby robot builder
www.marc-systems.be
Back to top
profkelly



Joined: 16 Dec 2004
Posts: 596
Location: Monroe County Community College, Monroe Michigan, U.S.A.

PostPosted: Sat Jan 30, 2010 9:22 am    Post subject: Reply with quote

Are you able to assemble your existing source files? The special characters would not display correctly in the EASy68K editor window but it might still assemble correctly.
_________________
Prof Chuck Kelly
Back to top
paulrsm



Joined: 20 Jun 2005
Posts: 14

PostPosted: Sun Feb 14, 2010 4:11 pm    Post subject: Reply with quote

A Windows font with the MS-DOS high character set is MS LineDraw (download from Microsoft). It is identical to the Courier font except for the high characters. I don't know how to fool EASy68K to use MS LineDraw instead of Courier.

Two other useful monospace fonts are Lucinda Console (included with Windows) and Consolas (download from Microsoft). I use Consolas for paper printouts because it has slashed zeroes, but not for screen use because it is a ClearType font that looks fuzzy on my monitor.
Back to top
marc_256



Joined: 01 Nov 2009
Posts: 12
Location: Belgium

PostPosted: Sun Feb 14, 2010 6:45 pm    Post subject: Reply with quote

Thanks,

That's what I need.
Like you wrote, how to use it with Easy68k ?

Marc
_________________
Greetings from Belgium
Hobby robot builder
www.marc-systems.be
Back to top
profkelly



Joined: 16 Dec 2004
Posts: 596
Location: Monroe County Community College, Monroe Michigan, U.S.A.

PostPosted: Mon Feb 15, 2010 9:05 am    Post subject: Reply with quote

The EASy68K editor uses Microsoft Richedit 2.0 control. The Richedit control does not display some fonts correctly. For a demonstration create a document in notepad using one of the fonts mentioned above or "Terminal" font (also included with Windows) then copy and paste it into Wordpad (also uses the Richedit control).

Have you tried editing the program using your current editor and assembling it in EASy68K?
_________________
Prof Chuck Kelly
Back to top
Display posts from previous:   
Post new topic   Reply to topic    EASy68K Forum Index -> EASy68K Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group