flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Assembly programming font.

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 09 Aug 2013, 05:04
Recently I started a discussion here about one problem that I meet all the time.

Shortly, because the assembly source is read by columns and "b" and "d" have only horizontal asymmetry, the register names "ebx", "edx" become not readable enough in lower case.

My Idea is to make a programming font that to fix this problem.

What you think about the problem and possible solutions?

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 09 Aug 2013, 05:04
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
dogman



Joined: 18 Jul 2013
Posts: 114
dogman 09 Aug 2013, 05:43
You ought to tell it to Intel. The stupid 2001 A Space Odyssey font they use in their doc for the past 10 years is enough to make everybody go blind. I use AMD manuals instead.

Soon I will try to post a screenshot of the font I use for my assembler development. It's not Intel but you'll see the characters and if you like them the fonts are already available.
Post 09 Aug 2013, 05:43
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4352
Location: Now
edfed 31 Aug 2013, 14:07
finding that b is too much like d is like saying 3 is too much like E...

the problem is not here, but more into the very long labels with just some different letters like
Code:
processThisAndOutput:
processThisAndInput:
    



this kind of code above is a cure, ok, but the code below is not at all, cause very short words (GP assembly mnemonics) are more graphic than textual. a single look at them is enough to identify their exact significance. like when you see simple logos, a single look makes you identify the brand behind.
http://blog.crowdspring.com/wp-content/uploads/2009/11/2616906744_a238697a95_b.jpg


Code:
eax,ebx,ecx,edx,esi,edi,esp,ebp,eip,cs,ds,es,fs,gs,mov,add,sub,mul,imul,div,idiv,lea,xlat,xchg,xor,and,or,not,jmp,jne,je,jle,jl,jg,jge,jnl,jng,etc....
    


---------------------------------------

Code:
mov ebx,edx
    

don't give problem for me, exactlly as:
Code:
mov [E],3
    

should not be a problem.

the real problem is the 1 and l difference in some fonts sizes (the smalest is the worse), but with syntax highlighting, it is easy to identify the 1 and the l
Code:
mov [l],1
    


problem is then not in the difference between ebx and edx.
Post 31 Aug 2013, 14:07
View user's profile Send private message Visit poster's website Reply with quote
dogman



Joined: 18 Jul 2013
Posts: 114
dogman 09 Sep 2013, 11:56
Sorry I didn't get back to this earlier. I'm going to post a few links to the x3270 site. x3270 is a terminal emulator I use for my job coding assembler on mainframes. It's a very different assembler from Intel and a very different architecture but one thing is for sure we have to see what we're doing. x3270 has its own fonts that try to mimic an actual 3270 hardware device. It's been a long time since I used a real 3270 but they were definitely top of the line in all respects from the keyboard to the screen. The characters were very crisp and legible. Nowadays I use x3270 heavily and I think its fonts are pretty good even if I can't compare them side to side with a real 3270, I do get the "real IBM" feeling.

This is the link to the main site http://x3270.bgp.nu/ If you like the screenshots you can download the source for the emulator. The fonts come with it. You can extract the fonts and try them out yourself, or modify them. Everything is under an open source license.

This is a screenshot in classic 3270 style we used for coding assembler, PL/I, COBOL, and JCL in the good old days on real 3270s http://x3270.bgp.nu/x3270_main.png
This is a link to a screenshot for an alternate character set http://x3270.bgp.nu/cyrillic.png
Post 09 Sep 2013, 11:56
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1657
Location: Toronto, Canada
AsmGuru62 09 Sep 2013, 14:37
It is nice to see that mainframes are alive and well!
I started my career on the system like that looooong ago... (FORTRAN).
Post 09 Sep 2013, 14:37
View user's profile Send private message Send e-mail Reply with quote
dogman



Joined: 18 Jul 2013
Posts: 114
dogman 09 Sep 2013, 15:28
You write some awfully pretty x86 code. I figured you might have some background elsewhere!
Post 09 Sep 2013, 15:28
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.