Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > > Nooo! > What are these functions meant to do? > This seems way more harder than it looks! Well that is not that hard: do_read - read bytes from file do_write - write bytes to file do_close - close file do_erase - open file do_rename - rename

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
Nooo! What are these functions meant to do? This seems way more harder than it looks! Regards SirStorm25. -- View this message in context: http://www.nabble.com/FPC_HAS_FEATURE_TEXTIO---Strange-behaviour%21-tp18968260p18970979.html Sent from the Free Pascal - General mailing list archive at

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > > Would the OS still compile if I removed the > syscopytodos and syscopyfromdos functions from > the do_ procedures? Yes of course. It wouldn't work though. ___ fpc-pascal maillist - fpc-pascal@lists.freepas

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
Would the OS still compile if I removed the syscopytodos and syscopyfromdos functions from the do_ procedures? -- View this message in context: http://www.nabble.com/FPC_HAS_FEATURE_TEXTIO---Strange-behaviour%21-tp18968260p18970901.html Sent from the Free Pascal - General mailing list archive at

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > > The only problem I've found, is that the do_ procedures contain a line of > code: > syscopytodos, which seems to be specific to dos, any ideas as to where > this function is stored? In go32v2, but they are very dos specific. Remember, this is the dos

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
The only problem I've found, is that the do_ procedures contain a line of code: syscopytodos, which seems to be specific to dos, any ideas as to where this function is stored? Regards SirStorm25. -- View this message in context: http://www.nabble.com/FPC_HAS_FEATURE_TEXTIO---Strange-behaviour%2

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > > Found em! > The finaly question is: where do I put these? > do I create my own sysfile.inc with just these functions, or do they rely on > other functions located within the same file? Yes, usually per OS the porter maintains a rtl/ dir for general OS

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
Found em! The finaly question is: where do I put these? do I create my own sysfile.inc with just these functions, or do they rely on other functions located within the same file? Regards SirStorm25. -- View this message in context: http://www.nabble.com/FPC_HAS_FEATURE_TEXTIO---Strange-behavio

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Tomas Hajny
On 13 Aug 08, at 11:47, SirStorm25 wrote: > Marco van de Voort wrote: > > > > In our previous episode, SirStorm25 said: > >> Im trying to develop reading capabilities for an OS im helping to > >> develop. > >> When enabling the FPC_HAS_FEATURE_TEXTIO from the RTL, I get a few errors > >> involving

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > Any ideas where to find the source to a version of DOS with those functions > implemented, linux source code always gets me confused %-| They are not implemented in dos but FOR dos, in the Free Pascal RTL, dos version, dir rtl/go32v2

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
Marco van de Voort wrote: > > In our previous episode, SirStorm25 said: >> Im trying to develop reading capabilities for an OS im helping to >> develop. >> When enabling the FPC_HAS_FEATURE_TEXTIO from the RTL, I get a few errors >> involving >> the file: Text.inc. >> All of the errors returned

Re: [fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread Marco van de Voort
In our previous episode, SirStorm25 said: > Im trying to develop reading capabilities for an OS im helping to develop. > When enabling the FPC_HAS_FEATURE_TEXTIO from the RTL, I get a few errors > involving > the file: Text.inc. > All of the errors returned are mainly "do_" functions. > E.g: > do_r

[fpc-pascal] FPC_HAS_FEATURE_TEXTIO - Strange behaviour!

2008-08-13 Thread SirStorm25
Hi All!!! Im trying to develop reading capabilities for an OS im helping to develop. When enabling the FPC_HAS_FEATURE_TEXTIO from the RTL, I get a few errors involving the file: Text.inc. All of the errors returned are mainly "do_" functions. E.g: do_read do_write do_close do_erase dp_rename etc