Visual Studio 2008 – Direct2D Samples from Win7 SDK

  direct2d posted by (C)takao21203 Today I downloaded the Win7 SDK. Actually it is possible to use Visual Studio 2008 on a 1GB Intel Atom netbook. Visual Studio Express 2013 is very slow! But Visual Studio 2008 is useable. The Win7 SDK includes a lot of sample source codes. For instance Direct2D. When I tried to compile it this night, … Continue reading

STM8 DISCOVERY – 7segment serial link (2)

PIC 16f884 LED display posted by (C)takao21203 Using a PIC 16f884 here to test some new ideas. All the I/O bits are now freely mapable from tables. The TRISTATE is computated by the firmware.Actually these small displays are not very bright- or maybe there is a mysterious bug. STM8 circuit posted by (C)takao21203 Added some shuttle boards to the STM8 … Continue reading

STM8 DISCOVERY – 7segment serial link (1)

stm8 board posted by (C)takao21203 This is a STM8 Discovery board. I have added a PIC 16f884 and a small 7segment display. I want to program a serial link between the two controllers. Later, a display will be connected to the STM8 chip directly. However, I have some ideas to improve the 7segment decoding/driving, and it is easier to test … Continue reading

C language on MSDOS…

C program which I wrote. It can set pixels, draw a circle, and draw a box. All very primitive- technology from 30 years ago. It is old graphics card and MSDOS (FreeDOS) which runs in a hard drive partition. C compiler is not free but it is not sold anymore. Software from 1992! Eventually it is Borland C++. It can … Continue reading

obscure and ancient graphics card for IBM PC

I wrote a small C program for this graphics card. It is a CGA model which was used in early 1980s! After a while it really works. A lot of effort is required to set a single pixel. 320×200 in 4 colors… Borland C++ is used but this program is just plain C language. Tables are used to set and … Continue reading

68000 single board computer prototype

Not many people have built single board computer this way. It only has 8 MHz CPU speed. You can get a STM32 board which has 170 MHz for little money, or a so-called Raspberry PI also for low price. … What is interesting here is the challenge because it is so difficult to build it manually. There are even no schematics! I … Continue reading

USB gizmo…

1. USB Gizmo It can show japanese characters! Individually programmed 5120 bits. There is a software on the Windows PC side too. Visual Studio C++ is used! It can link via USB. 2. Random images shown on my homepage hitechworld.org The redesign for my website is now completed. I added a script to display a random picture each time. This … Continue reading

How to use japanese language for LED matrix scrolling message tag

How can this be done? It is not so easy, as the LED matrix does not understand UNICODE. I have digitized japanese katakana font from a character LCD, about 5120 individual bits. This exists as binary data inside the microcontroller. I want to write the scrolling message on Windows PC, and transfer the text via USB. There are many individual … Continue reading

C language – Dereference cast

Original C language used typecasts, for instance: pointer to const pointer to const unsigned char -> pointer to const unsigned char Modern Windows C is using an array of object orientated techniques to virtualize, and provide generic templates. There are for instance different copy constructors, which can do primitive conversion between value and number. There are new pointer types such … Continue reading