Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread Tomas Hajny
On Thu, December 6, 2012 01:25, waldo kitty wrote: > > w2k with FPC 2.6.0 release using lazarus 1.1 only as an editor... no GUI > stuffings at all... i'm using -Mtp in the project options... > > i have finally gotten around to trying to convert the old FTN/BBS MKSMG > library > to FPC... it was wri

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread Tomas Hajny
On Thu, December 6, 2012 08:46, Mark Morgan Lloyd wrote: > waldo kitty wrote: >> w2k with FPC 2.6.0 release using lazarus 1.1 only as an editor... no GUI >> stuffings at all... i'm using -Mtp in the project options... >> >> i have finally gotten around to trying to convert the old FTN/BBS MKSMG >>

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread Ralf A. Quint
At 04:25 PM 12/5/2012, waldo kitty wrote: i know this is using direct access to the timer ticker from the BIOS but at this time, i don't know how to best handle it in FPC... Well, it might depend on what that timer is being used for PPS: sorry if this is rambling... today is my birthday a

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread Mark Morgan Lloyd
Tomas Hajny wrote: Thinking back to when people started doing this sort of conversion, as a general point keep an eye open for any code that loops to poll a key or e.g. display an on-screen clock. That sort of technique might be fine in DOS, but as soon as you have a multitasking OS you need to

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread waldo kitty
On 12/5/2012 23:53, Chad Berchek wrote: Perhaps it would be sufficient to supply the time value from another source converted to the units the other code is expecting to see. Assuming the frequency for the BIOS timer is about 18.2 Hz: function TimeCounter: LongInt; begin Result := LongInt(Round(