flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Linux > Porting 16-bit .com assembly to 64-bit Linux counterpart

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
redsock



Joined: 09 Oct 2009
Posts: 261
Location: Australia

YONG wrote:
I tried to use the search at the upper right corner of your website. But nothing happened for a number of inputs: "prolog", "ansi_colors", and even "ht$init". Does the search support only a "selected" list of functions and/or routines?

The search feature is only for functions that match specific signatures (which is to say: most of them). The prolog keyword is not a function, it is a macro (and defined in profiler.inc as you probably already found). Same with ansi_colors, it too is a macro and lives in tui_ansi.inc. ht$init probably doesn't come up because it is not a profiler-capable function either and thus doesn't match the signature, haha.

fgrep is probably easier but I find that occasionally having the master-search-list of all the function names to be helpful.

_________________
2 Ton Digital - https://2ton.com.au/
Post 15 Jul 2017, 23:57
View user's profile Send private message Reply with quote
YONG



Joined: 16 Mar 2005
Posts: 7896
Location: 22° 15' N | 114° 10' E

redsock wrote:
I modified the original example again Smile

I fixed the size to 80x25, centered on a black background 100%x100% terminal. Fixed the bounds checking, and it now correctly hides the cursor.

Does this version fixup what you were after?

Thanks! Razz

Yeah, this version is what I am after.

But there seems to be a bug. When the terminal initially popped up, its dimensions were 80x24, not 80x25. (I am sure about it because I actually counted the number of rows!) After resizing, it was clear that the terminal actually had 25 rows. Haha ...

Wink
Post 16 Jul 2017, 02:06
View user's profile Send private message Visit poster's website Reply with quote
YONG



Joined: 16 Mar 2005
Posts: 7896
Location: 22° 15' N | 114° 10' E

redsock wrote:
The search feature is only for functions that match specific signatures (which is to say: most of them). ...

fgrep is probably easier but I find that occasionally having the master-search-list of all the function names to be helpful.

Okay. I guess that I should revisit the topic of regular expression. Thanks, anyway!

Wink
Post 16 Jul 2017, 02:11
View user's profile Send private message Visit poster's website Reply with quote
Furs



Joined: 04 Mar 2016
Posts: 747
I thought every Linux (Unix) developer knows how to use regular expressions (sed, awk, grep/fgrep etc) and other essential Unix tools Razz
Post 16 Jul 2017, 11:39
View user's profile Send private message Reply with quote
YONG



Joined: 16 Mar 2005
Posts: 7896
Location: 22° 15' N | 114° 10' E

Furs wrote:
I thought every Linux (Unix) developer knows how to use regular expressions (sed, awk, grep/fgrep etc) and other essential Unix tools Razz

When I, in the thread-starting post, used the adjective "rusty" to describe my programming skills, I was not exaggerating at all. Around a quarter of a century ago, I was actually very good at UNIX (and similar breeds). Now, it is a very different story. Haha ...

Wink
Post 16 Jul 2017, 12:54
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.