Fixing the Memtest EXE loader (Developers)
Hi, I tried to compile modified memtest https://github.com/CMU-SAFARI/rowhammer
it contains your EXE loader by eric auer
https://github.com/CMU-SAFARI/rowhammer/blob/master/src/mt86%2B_loader.asm
I have a problem that produced exe throw error:
nopatch db "jmp far dword not found at setup.S offset 37h,",13,10
db "(file offset 237h is not 66h, 0eah)",13,10
db "please adjust and recompile memtestl...",13,10,"$"
I found that it is little bit shifted and when I change
mov ax,[buffer+251h] ; should be jmp far dword (ofs, seg)
cmp ax,0ea66h
to
mov ax,[buffer+251h+13] ; should be jmp far dword (ofs, seg)
it finds it and I got another error:
lgdt [...] not found at setup.S offset 0ch
so I did some further patching by adding 13 but it ended with immediate reset of PC after I run it. What is the right place to correct the offset?
fullsize matches right the size of memtest.bin
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- Fixing the Memtest EXE loader - RayeR, 11.03.2015, 19:02
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Fixing the Memtest EXE loader - roytam, 12.03.2015, 08:24
- Fixing the Memtest EXE loader - RayeR, 12.03.2015, 17:56
- Fixing the Memtest EXE loader - Zyzzle, 12.03.2015, 23:16
- Fixing the Memtest EXE loader - RayeR, 13.03.2015, 01:24
- Fixing the Memtest EXE loader - Zyzzle, 12.03.2015, 23:16
- Fixing the Memtest EXE loader - RayeR, 12.03.2015, 17:56
- Fixing the Memtest EXE loader - roytam, 12.03.2015, 08:24
Mix view