Windows 32 bit graphical app. Runs under win7-64 or higher.
Displays a square 1024x1024 pixels.
Accesses a file, for reading only, called [login to view URL] on a drive (USB logical removable device) specified on in a text box. Reloads this file every x seconds (x configurable 1-100 in a text box).
Flushes the Windows removable drive cache before each reload (if this is possible; may not be).
The specified drive may occassionally appear or disappear. If not present, just wait until it reappears.
The file contains 64k bytes.
The file data is to be represented on the 1024x1024 square, as follows:
Each byte in the file maps to a square of 4x4 pixels, so you have 256x256 squares i.e. 64k squares.
If the byte is 0xA5, the square (all 4x4 pixels) is green.
If the byte is 0xAA, the square (all 4x4 pixels) is yellow.
If the byte is 0x00, the square (all 4x4 pixels) is black outline and white inside.
If the byte is anything else, just use the byte value for the 16 pixels directly, with 2 consecutive pixels being the same.
Byte 0 of the file is top left in the 1024x1024 square.
A sample file is attached.
Purpose: to display memory usage in a readily visible way, in an RTOS operating system, which has 64k allocated to it, and whose process stacks are prefilled with A5 and we need to readily see these. Unused area at the end is filled with AA. The product has a USB accessible logical removable drive and it periodically generates the file ccm.dat. Each time it updates the [login to view URL] file, the drive may disappear for a few seconds, to force Windows to flush its drive cache.
Bids please only from people who actually know how to write Windows GUI apps.
Được trao cho:
12 freelancer chào giá trung bình$192 cho công việc này
Hello! Your idea is interesting. I think a simple dialog application can show you graphical representation of your file. Looking forward to working with you. Best regards