[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New test program for N8 composite video



Hi Douglas

Just a quick question - does your compiler support multiple object files to be linked together?   I was sort of surprised to see functions in a .h file - not the normal practice in C code.   Generally .h files are private to an implementation or are the interface to a module.  It makes it harder in the future to make modules platform independent and reusable in other projects when there is not clear separation.  I know it is a knit but is something to think about as you write tools.   I am starting to look at the idea for the monitor so I can share code between z80 and m68k - most of the monitor can be written in C with a few #ifdefs and in some cases machine dependent files that are selected at compile and link time for example it is easy to have a foo.c that is machine dependent and really name it as foo_z80.c and foo_m68k.c and use the construct in a Makefile like foo_${TARGET_MACH}.c and pick up the right one and the same with the linking.

Dave

On Wednesday, September 12, 2012 8:12:43 AM UTC-5, douglas_goodall wrote:
Friends,

I have posted my new utility, called N8VIDTST to the wiki in the N8-2312 folder.

This utility is meant only to run on an N8 that has a TMS9918 graphics processor
installed.

It displays for pages of information in text mode (24x40 monochrome).

The information consists of tabular information on the character set by rendering
rows of characters along with the hexadecimal (ASCII) value that produces it.

Each page displays 64 characters of the 256 available. Hitting any key several
time pages through the four displays.

Suggestions and comments are welcome, do...@goodall.com or N8VEM group
on Google.

Douglas Goodall