12 August 2017, 10:36 | #1 |
Registered User
Join Date: Jun 2017
Location: Paris
Posts: 51
|
Restoring COP2LCH/LCL
Hi,
This question is part hardware / part system, so sorry if I posted it in the wrong thread. A the end of my code, I have to restore COP2LCH/LCL so that the system wont crash. I know how to restore COP1LCH/LCL. Their values can be found at some offset after an OldOpenLibrary call : lea graphicslibrary,a1 movea.l $4,a6 jsr -408(a6) move.l d0,a1 move.l 38(a1),COP1LCH(a5) clr.w COPJMP1(a5) jsr -414(a6) But I could not find the info regarding the offset where the values of COP2LCH/LCL can be found. Any idea ? |
12 August 2017, 11:09 | #2 |
noodle
Join Date: Jun 2007
Location: europe
Posts: 247
|
|
12 August 2017, 11:19 | #3 |
Registered User
Join Date: Jun 2017
Location: Paris
Posts: 51
|
Thanks !
|
22 August 2017, 00:53 | #4 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 869
|
I think there is no need to restore cop2lc because the list in gb_copinit will set cop2lc anyway.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Restoring an Old C= Amiga Sign | IvanEBC | Nostalgia & memories | 4 | 20 March 2017 18:53 |
Restoring a Bricked ACA500 Plus | patopian81 | support.Hardware | 2 | 23 February 2017 23:21 |
Need help restoring my system | TenLeftFingers | support.Apps | 4 | 21 January 2016 23:35 |
Restoring A2000 | Franchute13 | support.Hardware | 9 | 29 September 2015 03:51 |
Restoring old Amiga 1200 | Treguard | New to Emulation or Amiga scene | 15 | 29 June 2015 18:25 |
|
|