Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows - PiGpio.zip (1/1)

2016-07-25 Thread Bo Berglund
begin 644 PiGpio.zip M4$L#!!0``@`(`#Q/F4CB2,%-K@L``",F```*4&E'<&EO+G!A<\U9_U/B MR!+_>?DK^JJL.CA920*Z*K=7AP(N=2H4X%GU?C@JD(GF;4A22=!UM_9_?Y^> M228!T=-7WKY'N9#T]/27S_3T]/2N`B^ED7<6>6&[\JU")Z<7UF%SG\Y&@R&- MQ8V7I/$#=6/O3L1ULOTDI(4=T"H1E(:TM`,O6OEV*F@1K2A,;T5,<3[+CH6= M5"HTO?426H2.(/RF(DF%0V'@/]!)

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows - PiGpio.zip (0/1)

2016-07-25 Thread Bo Berglund
On Sun, 24 Jul 2016 10:29:04 -0400, "James Richters" wrote: >Bo, >I also have a raspberry pi project.. I got a hifi-berry card for it and it >is streaming audio to a central audio system, I'm using VLC media player and >an app on my cell phone to control it, I have not made use of the GPIO on

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
Thanks for the info. I will give it a try. I was doing some DOS function calls, inline assembly, and direct hardware access with PORT[ ] commands. I just went though and commented out everything that wouldn’t work so it would compile and now I’m finding ways to make those things work. I hav

Re: [fpc-pascal] Weird string behavior

2016-07-25 Thread Mattias Gaertner
On Mon, 25 Jul 2016 23:23:23 +0200 Jonas Maebe wrote: > On 25/07/16 23:07, Mattias Gaertner wrote: > > DefaultSystemCodePage = 1252 > > s3 = "abcdef" cp = 65001 > > Thanks. So the rule for concatenation appears to be: > * the dynamic code page of the result of a string concatenation is that >

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread Sven Barth
Am 25.07.2016 22:52 schrieb "James Richters" : > I've tried Lazarus, for some reason I can't even get my program to compile > with Lazarus, I get pages of errors. Maybe I just don't know how to get > Lazarus into Turbo Pascal Compatible mode.. In your project's settings there is somewhere among t

Re: [fpc-pascal] Weird string behavior

2016-07-25 Thread Jonas Maebe
On 25/07/16 23:07, Mattias Gaertner wrote: DefaultSystemCodePage = 1252 s3 = "abcdef" cp = 65001 Thanks. So the rule for concatenation appears to be: * the dynamic code page of the result of a string concatenation is that of the left operand (except if it's an empty string, then it's that of

Re: [fpc-pascal] Weird string behavior

2016-07-25 Thread Mattias Gaertner
On Mon, 25 Jul 2016 22:25:59 +0200 Jonas Maebe wrote: > On 23/07/16 13:31, Petr Kohut wrote: > > Hello, > > here are results: > > Thanks a lot. Could you test one more? I think I will have all > information I need then. > > > Jonas > > {$APPTYPE CONSOLE} > > type >tcp866 = type ansist

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
>If you are using Windows, you can compile the IDE in FPC trunk with gdb/mi support, >which works by opening your program in a new console window, so it gets the effect >you want already under Windows. Lazarus also does the same thing, if you don't mind >using a newer IDE. I'm using Windows, Ca

Re: [fpc-pascal] Weird string behavior

2016-07-25 Thread Jonas Maebe
On 23/07/16 13:31, Petr Kohut wrote: Hello, here are results: Thanks a lot. Could you test one more? I think I will have all information I need then. Jonas {$APPTYPE CONSOLE} type tcp866 = type ansistring(866); var s1, s2, s3: tcp866; begin s1:='abc'; setcodepage(rawbytestring(s1)

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread Nikolay Nikolov
On 07/25/2016 12:57 AM, James Richters wrote: Is there a way to get the textmode IDE to do splitscreen the way Turbo Pascal used to if you had both a color and monochrome monitor? It was very handy to trace through the source code on the monochrome monitor and watch it execute on the other one

Re: [fpc-pascal] old school crc32

2016-07-25 Thread wkitty42
On 07/25/2016 11:22 AM, geneb wrote: On Sun, 24 Jul 2016, wkitt...@windstream.net wrote: On 07/24/2016 10:15 AM, geneb wrote: I don't know if you've looked at SWAG yet, but there's a couple of 32 bit CRC routines there. hey gene! fancy seeing you here instead of the flightgear areas ;) ;) ;)

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
I stand corrected, Now that I think of it, I also had the IDE on the color screen and program executing on monochrome. however most of my programs used the turbo pascal graph unit so my executing program needed the VGA screen... I guess I got used to it being set up like that. Thanks for correctin

Re: [fpc-pascal] old school crc32

2016-07-25 Thread geneb
On Sun, 24 Jul 2016, wkitt...@windstream.net wrote: On 07/24/2016 10:15 AM, geneb wrote: I don't know if you've looked at SWAG yet, but there's a couple of 32 bit CRC routines there. hey gene! fancy seeing you here instead of the flightgear areas ;) ;) ;) i do have all of SWAG here... back

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread Ralf Quint
On 7/25/2016 5:06 AM, James Richters wrote: The TurboPascal version used to write to B800-B7FF for the monochrome monitor and A000-AFFF for the color monitor, the IDE was always on monochrome and the program executing was always on color... that's how it worked, No, it didn't. The monochrome sc

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread James Richters
The TurboPascal version used to write to B800-B7FF for the monochrome monitor and A000-AFFF for the color monitor, the IDE was always on monochrome and the program executing was always on color... that's how it worked, but all that is really needed to help improve debugging with freepascal is to g

Re: [fpc-pascal] Textmode IDE splitscreen?

2016-07-25 Thread Pierre Free Pascal
Hello, The TextMode IDE is based on the package FV short for Free Vision, which tries to follow TurboVision interface. But there is nothing inside that package that deals with dual monitor, so I don't think this is possible with the current TextMode IDE. If you are only looking for a