[fpc-pascal] Textmode IDE splitscreen?

2016-07-24 Thread James Richters
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.. It prevented all the screen flashing when it

Re: [fpc-pascal] old school crc32

2016-07-24 Thread Mark Morgan Lloyd
wkitt...@windstream.net wrote: On 07/24/2016 05:03 AM, Mark Morgan Lloyd wrote: Have you tried running your test case through a different implementation? I use http://www.wolfgang-ehrhardt.de/crchash_en.html i'm trying to use only what is available in FPC... i will take a look at others,

Re: [fpc-pascal] old school crc32

2016-07-24 Thread wkitty42
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 in the day, we grabbed each new release as it was

Re: [fpc-pascal] old school crc32

2016-07-24 Thread wkitty42
On 07/24/2016 06:41 AM, Tony Whyman wrote: On 24/07/16 00:18, wkitt...@windstream.net wrote: i've already checked the polynomial ($edb88320) is the same in both, the original implementation (converted to TP4 in 1988) and this implementation... Are you sure that you are dealing with a CRC

Re: [fpc-pascal] old school crc32

2016-07-24 Thread wkitty42
On 07/24/2016 05:12 AM, Giuliano Colla wrote: What I'd do in your place would be to forget about strings, and use just an array of bytes. that's why i'm using a pchar, starting at var[0] and length(var)-1 ;) This way you're sure that you don't have in the way the string length value and some

Re: [fpc-pascal] old school crc32

2016-07-24 Thread wkitty42
On 07/24/2016 05:03 AM, Mark Morgan Lloyd wrote: Have you tried running your test case through a different implementation? I use http://www.wolfgang-ehrhardt.de/crchash_en.html i'm trying to use only what is available in FPC... i will take a look at others, though... [time passes] ok, i

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-24 Thread James Richters
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 them yet, but I would really like to learn how this can be

Re: [fpc-pascal] old school crc32

2016-07-24 Thread geneb
I don't know if you've looked at SWAG yet, but there's a couple of 32 bit CRC routines there. See here: http://swag.delphidabbler.com/ g. -- Proud owner of F-15C 80-0007 http://www.f15sim.com - The only one of its kind. http://www.diy-cockpits.org/coll - Go Collimated or Go Home. Some people

Re: [fpc-pascal] old school crc32

2016-07-24 Thread Tony Whyman
On 24/07/16 00:18, wkitt...@windstream.net wrote: i've already checked the polynomial ($edb88320) is the same in both, the original implementation (converted to TP4 in 1988) and this implementation... Are you sure that you are dealing with a CRC algorithm? ISO 8073 TP4 uses an arithmetic

Re: [fpc-pascal] old school crc32

2016-07-24 Thread Giuliano Colla
Il 24/07/2016 01:18, wkitt...@windstream.net ha scritto: this is driving me battier than i already am :( i have a binary file that contains a record of data... the first field of the data is a crc32 value of a string of characters... the string of characters is lower cased before being fed

Re: [fpc-pascal] old school crc32

2016-07-24 Thread Mark Morgan Lloyd
wkitt...@windstream.net wrote: this is driving me battier than i already am :( i have a binary file that contains a record of data... the first field of the data is a crc32 value of a string of characters... the string of characters is lower cased before being fed to the crc32 function... i

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-24 Thread Bo Berglund
On Fri, 15 Jul 2016 14:59:10 -0700 (MST), Zaaphod wrote: >I am trying to get access to the parallel port with Free Pascal. > >I'm trying to use this version of inpout32 (x64) >http://www.highrez.co.uk/downloads/inpout32/ > >Here's my program:

Re: [fpc-pascal] Parallel Port Access with Free Pascal - windows

2016-07-24 Thread Bo Berglund
On Fri, 22 Jul 2016 14:19:20 +, Mark Morgan Lloyd wrote: >Or go the whole hog and >port the program onto a Raspberry Pi: Bo's doing something like you're >asking. Yes, indeed! I now have something like 7-8 operational RPi units for different purposes