Search found 2923 matches

by marcov
Aug 10, 2020 15:00
Forum: Beginners
Topic: [solved] GET and PUT ( graphics ) commands slow down my program[solved]
Replies: 63
Views: 666

Re: GET and PUT ( graphics ) commands slow down my program

I studied electronics and assembler language at a time when PCs and high-level languages did not exist. I learned on my own with QB and I never needed to excel in PC computer languages because it wasn't necessary in my job to design electronic devices with microcontrollers, it may seem unthinkable ...
by marcov
Aug 09, 2020 11:55
Forum: Beginners
Topic: MKDIR Question
Replies: 6
Views: 240

Re: MKDIR Question

I do think that having a function for multi level dir creation is useful. The Delphi name for the function is "ForceDirectories". Recursive directory deletion doesn't have to be dangerous, if like rmdir it only removes empty dirs, and returns an error on non empty. So rmdir, not rm -rf :-)
by marcov
Jul 29, 2020 8:45
Forum: General
Topic: Embedding a Spreadsheet
Replies: 35
Views: 1551

Re: Embedding a Spreadsheet

Note that Free Pascal has multiple RPN expression engines. Another one is written by me and called the "symbolic" package (fpc/packages/symbolic). You are welcome to convert/use that code as you wish.
by marcov
Jul 29, 2020 8:37
Forum: Community Discussion
Topic: Forum search has stopped working.
Replies: 15
Views: 931

Re: Forum search has stopped working.

I occasionally search for (recent) mentions of FPC and Lazarus to comment on. I just did, and I only get results from 2005. Seems the search is working, but just got its database restored to the very beginnings ;-) Ah, I started a rebuild, but apparently if I close the page the rebuild stops. Perha...
by marcov
Jul 28, 2020 12:29
Forum: Beginners
Topic: Assembly
Replies: 4
Views: 3481

Re:

FreePascal has a switch to choose between Intel and ATT syntax in in-line assembly. Since it uses AS, too, this could also be possible in FB. (A slightly late reply because it bubbled up due to searchengine problems, but no. FPC parses both Intel and AT&T fully, and then always generates AT&...
by marcov
Jul 28, 2020 12:24
Forum: Community Discussion
Topic: Forum search has stopped working.
Replies: 15
Views: 931

Re: Forum search has stopped working.

I occasionally search for (recent) mentions of FPC and Lazarus to comment on. I just did, and I only get results from 2005. Seems the search is working, but just got its database restored to the very beginnings ;-) It does bring up pearls like V1ctor saying he can't do without Freepascal: https://ww...
by marcov
Jul 27, 2020 7:57
Forum: Projects
Topic: Standalone use of new GAS64 assembler as backend for a different Parser
Replies: 8
Views: 370

Re: Standalone use of new GAS64 assembler as backend for a different Parser

There are about 1503 instructions nowadays. The Intel doc documents them all, so best to download the Intel datasheets.
by marcov
Jul 14, 2020 8:37
Forum: Libraries
Topic: GoVCL, a cross-platform GUI lib
Replies: 3
Views: 456

Re: GoVCL, a cross-platform GUI lib

(Probably need update, Lazarus and Free Pascal both released in the last 3-4 weeks)
by marcov
Jul 11, 2020 17:46
Forum: Beginners
Topic: Odd pause when sometimes starting programme
Replies: 3
Views: 210

Re: Odd pause when sometimes starting programme

And Windows Smartscreen.
by marcov
Jul 06, 2020 13:38
Forum: Hardware Interfaces / Communication
Topic: BCD Conversion #Define(s)
Replies: 9
Views: 615

Re: BCD Conversion #Define(s)

Actually, BCD is a digit per byte/word. Digit per nibble is "packed BCD". Afaik forms of EAN 128 barcodes still use it.
by marcov
Jul 05, 2020 22:01
Forum: Community Discussion
Topic: Problems with downloading from Sourceforge
Replies: 5
Views: 960

Re: Problems with downloading from Sourceforge

sf.net has a mirror selection system that you can set yourself. If one mirror behaves bad, choose another.
by marcov
Jul 05, 2020 16:18
Forum: Hardware Interfaces / Communication
Topic: BCD Conversion #Define(s)
Replies: 9
Views: 615

Re: BCD Conversion #Define(s)

I'm not even sure if those instructions are really faster nowadays. Agree, likely to be slower even ... That's what I meant with pre-pentium. Starting with pentium-I and more importantly later Pentium-Pro, using standard simple instructions is usually faster than using "weird" legacy inst...
by marcov
Jul 05, 2020 9:54
Forum: Hardware Interfaces / Communication
Topic: BCD Conversion #Define(s)
Replies: 9
Views: 615

Re: BCD Conversion #Define(s)

It is pre pentium era fun. I'm not even sure if those instructions are really faster nowadays.

And most members seem to handle horrible preprocessor stuff just fine (look at all the container type discussions). ASM is much simpler.
by marcov
Jul 04, 2020 12:34
Forum: Hardware Interfaces / Communication
Topic: BCD Conversion #Define(s)
Replies: 9
Views: 615

Re: BCD Conversion #Define(s)

setbcd

aam
mov dl,ah
shl dl,4
or al,dl
xor ah,ah

getbcd

mov ah,al
shr ah,4
and al,15
aad
by marcov
Jul 02, 2020 17:59
Forum: Community Discussion
Topic: Getting old
Replies: 39
Views: 1587

Re: Getting old

"Don't stab pictures in the attic" That made me chuckle but I suspect many will not understand it. If it is any consolation I suspect that it made Oscar Wide chuckle as well. Oscar Wilde could be quite funny it seems. His quotes are quite popular (like e.g. Churchill) in e.g. Unix fortune...

Go to advanced search