Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-20 Thread Marco van de Voort
In our previous episode, nitinjain said: > I used same (Video Unit) but throwing runtime error* "Program Received > Signal SIGSEGV Segmentation fault"*. Did you follow all steps in http://stackoverflow.com/questions/23563834/freepascal-identifier-not-found-memw/23700057#comment36526285_23700057

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-20 Thread nitinjain
Thanks, I used same (Video Unit) but throwing runtime error* "Program Received Signal SIGSEGV Segmentation fault"*. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Identifier-not-found-MEMW-tp5719166p5719288.html Sent from the Free Pascal - General mailing li

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-12 Thread Tomas Hajny
On Mon, May 12, 2014 08:58, nitinjain wrote: > Thanks to all of you for your`s reply !, > > do me a Favour, can anybody guide me how to implement video unit with my > code. Well, I believe that you already have all the needed components in the provided responses: 1) Add unit Video to your uses cl

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-12 Thread nitinjain
Thanks to all of you for your`s reply !, do me a Favour, can anybody guide me how to implement video unit with my code. Regards, Nitin Jain -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Identifier-not-found-MEMW-tp5719166p5719206.html Sent from the Free Pa

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-09 Thread Karoly Balogh (Charlie/SGR)
Hi, On Fri, 9 May 2014, nitinjain wrote: >*MEMW[$B800:(width_offset-1)*2 > +(height_offset-1)*160]:=current_location^.code;* For the sake of completeness, this piece of code is just writing a character to the text mode memory of the display hardware direc

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-09 Thread Mark Morgan Lloyd
nitinjain wrote: Thanks for your prompt reply on this. my code is like below, is there any option to implemet the same thing? *MEMW[$B800:(width_offset-1)*2 +(height_offset-1)*160]:=current_location^.code;* What /exactly/ does the program

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-09 Thread Marco van de Voort
In our previous episode, nitinjain said: > Thanks for your prompt reply on this. > my code is like below, is there any option to implemet the same thing? > > --- > PROCEDURE window_object.appear; > > VAR >width_offset, >heigh

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-09 Thread Tomas Hajny
On Fri, May 9, 2014 09:00, nitinjain wrote: > Thanks for your prompt reply on this. > my code is like below, is there any option to implemet the same thing? > > --- > PROCEDURE window_object.appear; > > VAR >width_offset, >heig

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-09 Thread nitinjain
Thanks for your prompt reply on this. my code is like below, is there any option to implemet the same thing? --- PROCEDURE window_object.appear; VAR width_offset, height_offset: BYTE; current_location : location_pointer;

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-08 Thread Jim Leonard
On 5/8/2014 2:35 PM, Karoly Balogh (Charlie/SGR) wrote: Due to memory organization of modern operating systems, the Mem, MemW and MemL are only supported under DOS and *cannot* be supported elsewhere. This is legacy, non-portable code, which you have to rewrite to work with a modern operating sys

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-08 Thread Karoly Balogh (Charlie/SGR)
Hi, On Thu, 8 May 2014, nitinjain wrote: > I am migrating Turbo Pascal application into Free Pascal 32 bit operating > system. whenever i compiled unit file in free pascal, compiler showing error > message "Identifier not found "MEMW"". can anybody help me on this?. About TP to FPC porting, see

[fpc-pascal] Identifier not found "MEMW"

2014-05-08 Thread nitinjain
Hi, I am migrating Turbo Pascal application into Free Pascal 32 bit operating system. whenever i compiled unit file in free pascal, compiler showing error message "Identifier not found "MEMW"". can anybody help me on this?. Thanks Regards, Nitin Jain -- View this message in context: http://fr

Re: [fpc-pascal] Identifier not found "MEMW"

2014-05-08 Thread leledumbo
> whenever i compiled unit file in free pascal, compiler showing error message "Identifier not found "MEMW"". can anybody help me on this? AFAIK it's a direct memory access which is not possible in 32-bit (or higher) protected mode OS. Figure out what the code wants to do and implement it in a way