home *** CD-ROM | disk | FTP | other *** search
- /*
- SG C Tools 1.0
-
- (C) 1993 Steve Goldsmith
- All Rights Reserved
-
- Print all the VDC registers with printf().
-
- Compiled with HI-TECH C 3.09 (CP/M-80).
- */
-
- #include <hitech.h>
- #include <vdc.h>
-
- main()
- {
- unsigned char I;
-
- printf("\nC128 VDC registers dump:\n\n");
- for(I=0; I<=vdcRamRefresh; I++) /* print all 37 vdc registers */
- printf("%4u= %4u",I,invdc(I));
- printf("\n");
- }
-