| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | radical msqing |
Answering msg from Paul Edwards to rowan crowe,
on Thursday June 01 1995 at 19:06
rc>> I have NORMAL.ASM in another window right now, and indeed it
rc>> has "ret 4". This means return [far], and discard 4 bytes (2
rc>> parameters) from the stack. Except no parameters were passed to
rc>> it!
PE> There is a paramater passed to it, and it is a far pointer. However
PE> since the C calling convention is used, the caller will be responsible
PE> for adjusting the stack.
Ah, of course, I'm not used to C calling conventions.
start: les di,[bp+6]
There's the far parameter, load ES:DI with SS:[BP+6]
rc>> How often is _normalize called ?
PE> Every single message displayed on the screen. Basically '\r' is
Eek. No wonder it crashed after a while. I thought it was only called
when fiddling with ROT13.
It's possible that Borland does stack checking and fixes up this little
problem behind your back, which is why it's worked apparently flawlessly so
far.
---
* Origin: Jelly-Bean software development. (3:635/727.1)SEEN-BY: 50/99 632/348 998 633/371 634/384 635/502 503 513 544 727 638/100 SEEN-BY: 640/230 690/718 711/401 410 430 807 808 809 933 934 713/888 800/1 SEEN-BY: 7877/2809 @PATH: 635/727 632/348 635/503 50/99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.