News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Console file viewer

Started by Cobra, July 30, 2009, 09:20:52 PM

Previous topic - Next topic

Cobra

Can anyone point me in the right direction (or link with samples) on reading portions of a file into a buffer and then being able to scroll that buffer up/down the screen (like the old DOS program LIST does)?

Slugsnack

i guess you can use piping to pipe the output to dynamically allocated memory. then you can 'scroll' through that as you please

drizz

Maybe this tutorial can help you: http://www.catch22.net/tuts/bigmem01 ( This page is a gold mine )
Though it may be a little too advanced for your needs.
The truth cannot be learned ... it can only be recognized.

dedndave

or, you can get Mael Horz's Hxd hex editor - lol
of course, that won't give you the code, but it is the easy way to view the contents of a file