VOGONS


Writing a TSR for memory dumping.

Topic actions

Reply 40 of 47, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

I just looked on my dosbox, my 475 size com uses 0kb, its using 0x12 paragraphs, so just over 256 bytes..

The attachment Screenshot_2021-07-27_18-22-00.png is no longer available

ok I realised what your seeing, the line 136 should be

mov dx,setup_isr ;; already aligned correctly for tsr
shr dx,1
shr dx,1
shr dx,1
shr dx,1

I checked my original, yeah copy pasta error from hacking my uansi driver up for you. if you have umb its fine 😀

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 41 of 47, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

Okay, I will patch the code once I have access to my own pc and check again. 😀

My GitHub:
https://github.com/peterswinkels

Reply 42 of 47, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

@bloodycactus:
I added the missing lines, it works as expected now.

My GitHub:
https://github.com/peterswinkels

Reply 43 of 47, by slartibardfast0

User metadata
Rank Newbie
Rank
Newbie
BloodyCactus wrote on 2021-07-27, 22:23:
I just looked on my dosbox, my 475 size com uses 0kb, its using 0x12 paragraphs, so just over 256 bytes.. […]
Show full quote

I just looked on my dosbox, my 475 size com uses 0kb, its using 0x12 paragraphs, so just over 256 bytes..

Screenshot_2021-07-27_18-22-00.png

ok I realised what your seeing, the line 136 should be

mov dx,setup_isr ;; already aligned correctly for tsr
shr dx,1
shr dx,1
shr dx,1
shr dx,1

I checked my original, yeah copy pasta error from hacking my uansi driver up for you. if you have umb its fine 😀

hi, sorry for bringing up a nearly old post.
is there a license or a name I could cite for this TSR shell?

I'm in the middle of writing up some ms-dos code for a Timestamp Counter based delay function/frame/tick-timer
and would eventually like to make a TSR/DOS API with for patching older speed sensitive games.

a NASM skel like this is pretty much perfect, cheers

Reply 44 of 47, by BloodyCactus

User metadata
Rank Oldbie
Rank
Oldbie

nah I'm not worry, call it PD 😀 use it as you will, its all cool.

just make sure you get the little patch I put above for fixing the memory
Re: Writing a TSR for memory dumping.

--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--

Reply 45 of 47, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

@slartibardfast0: license? Nah, just leave a little positive feedback or a link to my project.

My GitHub:
https://github.com/peterswinkels

Reply 46 of 47, by slartibardfast0

User metadata
Rank Newbie
Rank
Newbie

Thanks @BloodyCactus got that patch running. ahh cheers, this is great, will save a lot of time.

@Peter Swinkels I'll be sure to reference your TSR on github when I've something up there too

Reply 47 of 47, by Peter Swinkels

User metadata
Rank Oldbie
Rank
Oldbie

@slartibardfast0: that would be appreciated!

My GitHub:
https://github.com/peterswinkels