Discussion:
[fpc-pascal] More problems in Sinclair QL port (M68K)
Norman Dunbar via fpc-pascal
2021-04-02 09:32:30 UTC
Permalink
Hi Pierre,
This all depend on the debugger capabilities,
if you can watch changes at a sepecific location,
the easiest is just to watch InOutRes memory position.
I'm afraid the QL is a computer from the early 1980s and we don't have
source level debugging or, unfortunately, watches. :(

The best I have is a watch on a register or a watch on a memory address
-- everything is done at the assembly language level, not at the Pascal
source I'm afraid. By the time I get to the debugger, I'm dealing in
memory addresses.

I'll have a look at the compiler options, there might be a way to get
the address of InOutRes that way - with a map file or symbol file etc.

Thank you.


Take care, stay safe.


Cheers,
Norm.
--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
27a Lidget Hill
Pudsey
West Yorkshire
United Kingdom
LS28 7LG

Company Number: 05132767



_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cg
Norman Dunbar via fpc-pascal
2021-04-15 11:35:44 UTC
Permalink
Good Afternoon All,

just a quick update on my run time error problem. It is now resolved.

While looking for this problem, I found a couple of places where the
fact that the parameters were being passed in registers was causing
problems as some of the code was overwriting those registers
(D0/D1/A0/A1) before the parameters could be used.

Whatever it was that I did fixing half a dozen or so low level routines,
actually fixed my problem. Thankfully.


Cheers,
Norm.
--
Norman Dunbar
Dunbar IT Consultants Ltd

Registered address:
27a Lidget Hill
Pudsey
West Yorkshire
United Kingdom
LS28 7LG

Company Number: 05132767
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://l
Loading...