Re: nfbtrans conversion

  • From: "Littlefield, Tyler" <tyler@xxxxxxxxxxxxx>
  • To: programmingblind@xxxxxxxxxxxxx
  • Date: Mon, 04 Jul 2011 22:28:32 -0600

Nope, nothing to do with pointers. I had to write some asm routines in c (quick functions) and change some of the functions that were called from dos to win32. that's about it.

On 7/4/2011 8:54 PM, Steve Jacobson wrote:
Tyler,

Thank you for taking a crack at this.  Did you find you had to do
anything with pointers?

Best regards,

Steve Jacobson

On Sat, 02 Jul 2011 16:38:29 -0600
"Littlefield, Tyler"<tyler@xxxxxxxxxxxxx>  wrote:

Jamal:
Thanks for that. I threw nfbtrans.exe into the edsharp directory under
nfbtrans and off it went. Converted perfectly.
http://dl.dropbox.com/u/10204868/NFBTR774.7z
There is the link for the new archive. I included the new executable, as
well as the sln and vcproj files that visual studio will need to build
the single nfbtrans.c.
On 7/2/2011 4:28 PM, Jamal Mazrui wrote:
Attached is a free braille file from National Braille Press,
founding.brf, containing the Declaration of Independence and related
material.  Hope it can be used for testing.

Jamal

On 7/2/2011 6:20 PM, Littlefield, Tyler wrote:
It looks like I have this done a lot sooner. Do I just need to dump this
in my edsharp directory to test? will someone send me a .brf file that I
can try this out with to see if it does, indeed work?
There were some asm functions (which were declared in the asm file),
called sound, nosound and delay. I wasn't really sure what those did, so
I just wrote c replacements. sound plays the beep (at a duration of 250
ms), nosound toggles a flag that is checked for beeps, and delay just
calls sleep. I have a ton of warnings, but I'm aiming for this to just
work on a 64-bit system.
On 7/2/2011 3:25 PM, Littlefield, Tyler wrote:
Hello all:
Since this isn't something that is a huge issue to keep up to date
beyond it just working on 64-bit systems, I removed the secure
warnings, and started the conversions. There aren't to many issues I
don't think so far, except the fact that a lot of the function calls
(utime etc) are no longer in windows. I'm yanking the code with older
functions and writing drop-in replacements to do exactly (hopefully)
what the old functions do, so hopefully it will work with minimal
modifications. I'll post later with progress and/or a working copy
sometime this week.



--

Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!

__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind



--

Take care,
Ty
my website:
http://tds-solutions.net
my blog:
http://tds-solutions.net/blog
skype: st8amnd127
My programs don't have bugs; they're randomly added features!

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: