Hi people,
So after reading through lots of docs for some months I finally was able to print patterns to screen, now I'm wanting to do a proper Hello World using the pattern space for text (we're talking about fixed width font for now! )
So I will be able to update my ROM so that hardcoded strings can be looked up in the pattern table and print appropriately to screen, my question is; can I somehow use extended-ascii, including the alternative versions of the control characters (0x01~0x31) in my text editor (notepad++) and have them looked up correctly from the pattern table in the ROM?
I'm not too clued up on encodings. It seems when I have notepad++ set to UTF-8 encoding ☺ is possible, but in reality saves as 6 bytes (☺), since it's not the standard encoding or whatever.
I'm using SNASM68K, what does it understand? Is it able to fix this problem by using a specific argument / do I have to code some intermediary application to convert this on-the-fly before compiling / can I change some option in notepad++ / or is there no easy solution?
Reason I want to be able to do this is so that I can draw out windows/boxes and such and be able to view them as ASCII in notepad++ files rather than blocks of numbers.
Maybe I'm approaching this entirely the wrong way?
Thanks for any input
ASM: Utilising the full ASCII table, is it viable?
Moderator: BigEvilCorporation
-
- Interested
- Posts: 18
- Joined: Fri Aug 07, 2009 4:07 am
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
SNASM68K does only ASCII for the strings. for 0...31 chars I use DC.B $00...$1F, but all others I do regular text... I do use MS-DOS editor for text though...
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Interested
- Posts: 18
- Joined: Fri Aug 07, 2009 4:07 am
Ah well that's good to know at least, just need to find a way to have n++ save the ascii values rather than translating to unicode or whatever format it tends to use. I'm probably overlooking something.
I suppose I could switch between msdos editor and n++ in the mean time, the file should hold up ok between saves. I could msdos editor primarily but of course it doesn't have a lot of the convenience features of a windows gui app
edit: In fact, how do you get characters above ASCII 7E in msdos editor? or do you have to dc.b?
Then I have the same problem as in n++ >_<
I suppose I could switch between msdos editor and n++ in the mean time, the file should hold up ok between saves. I could msdos editor primarily but of course it doesn't have a lot of the convenience features of a windows gui app
edit: In fact, how do you get characters above ASCII 7E in msdos editor? or do you have to dc.b?
Then I have the same problem as in n++ >_<
-
- Very interested
- Posts: 2440
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
ALT+xxx where xxx is the ASCII character ^^
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Interested
- Posts: 18
- Joined: Fri Aug 07, 2009 4:07 am