Subject:
|
Re: RCX "locking up" when trying to use dll
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 11 Jan 2000 17:57:29 GMT
|
Viewed:
|
1301 times
|
| |
| |
Ben Jackson schrieb:
> Is there a better explanation for this than 'install egcs-1.1.2'? egcs 1.1.2
> is older than 2.95.2. Was a regression introduced?
Some parts of legOS, especially the interrupt handlers, are less
portable than they should be - they use some assembly, or my
attribute((rcx_interrupt)) which I haven't verified with 2.95.2.
> This is definitely a different symptom. If you run dll -v you can see that the
> RCX hangs immediately after "delete program" and never responds.
Sounds like a problem with saving and restoring registers in
lnp_logical_handler. Could you verify in the disassembly if all
registers are being saved and restored? They should be, as this is not a
leaf function. If they aren't, we'll have to modify the rcx_interrupt
directive accordingly.
Markus.
|
|
Message has 1 Reply: | | Re: RCX "locking up" when trying to use dll
|
| (...) It's actually in the library. I just found it. Here is a disassembly of a correct memcpy.o, as built by egcs-1.1.2: 00000000 <_memcpy>: 0: 0d 13 mov.w r1,r3 2: 09 23 add.w r2,r3 4: 1d 13 cmp.w r1,r3 6: 47 00 beq .0 (8) 8: 6c 1a mov.b @r1+,r2l (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Re: RCX "locking up" when trying to use dll
|
| (...) I am seeing exactly the same thing when I built my own legOS.srec from scratch. The kernel seems to run fine (view, on/off, prgm, run buttons) until dll crashes it. (...) Auugh, I too am using gcc-2.95.2. If I use legOS.srec/.lds from the (...) (25 years ago, 11-Jan-00, to lugnet.robotics.rcx.legos)
|
11 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|