Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

readexe version 0.1 (Announce)

posted by RayeR Homepage, CZ, 15.08.2023, 19:01

Hi, many years ago I coded a simple tool EXeinfo that probably do similar things to yours. Feel free to try out and compare results if you want. I just wrote it when learning about exe a bit myself...

http://rayer.g6.cz/programm/programe.htm#EXEINFO

Bwt about C and bitfields. I don't hesitate using bitfields and unions and manipulate them by memcpy, fread, typecast and it works fine for me, at least ingcc that I mostly use. I just need to use attribute packed to avoid byte field alignment including memory holes, when structure is packed there are nobholes and all works as expected. I usualy compile my tools for Dos/Windows/Linux with gcc toolchains Djgpp/Mingw/native 32/64b linux gcc and I didn't have a problem. Also some code was ported to 8b atmel AVR and 32b ARM also runnig fine there. But I don't suggest anybody to break/abuse C ruled in general but in some case it makes life easier... :)

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 390 users online (1 registered, 389 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum