Hi,

On Sat, Feb 27, 2016 at 4:25 PM, Eric Auer <[email protected]> wrote:
>
>> REBOOT: A small program for rebooting on DOS.
>
> How does it differ from the FDAPM options for rebooting?

Uh, it's not much. Literally, he just calls "int 19h", which I'm not
sure is a good way to reboot at all. (Isn't that the partial "quick"
reboot that is only valid in very limited circumstances??) See RBIL
below:

http://www.delorie.com/djgpp/doc/rbinter/id/79/22.html

Two better examples of rebooting are as follows:

1). http://www.faqs.org/faqs/msdos-programmer-faq/part4/section-16.html
2). http://www.robvanderwoude.com/debug.php#Reset

Although yes, FDAPM works fine!

http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/dos/fdapm/2009/fdapm-2009sep11.zip

>> SCREEN: Screen mode changer on DOS.
>
> How does it differ from the MODE CON options for screen modes?
>
> Looking forward to the extra details :-)

This looks like he had some pathological reason not to use CALL / RET
and didn't want to use any loops or tables either.   :-)     I would
recommend a bit of factoring to simplify the redundancy.

BTW, as far as i18n goes (since he's supporting "EN" and "TR"), it's
probably easier to combine the two and check the current (display)
code page at runtime, using the appropriate messages. (Like Eric's
RUNTIME tool? I can't remember the details.) It's pretty easy to
check, but I forget which codepage Turkish even uses (and don't grok
it, not that it matters). I don't remember the exact code, but I can
dig up something if needed.

Here's one piece:
https://sites.google.com/site/rugxulo/querycp.c?attredirects=0

>> Bilgisayarcılık DOS Tools licensed under GNU GPLv2 or any later version.
>>
>> Project Github repository: https://github.com/bilgisayarcilik/DOS-Tools

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to