For quite sometime many of us have talked about starting a machine code special interest group. Well this is the time. Starting this upcomming meeting after the regular meeting at about 9:00 PM we will meet and discuss machine code. Anyone can sit in and listen but only those who meet the following conditions will be allowed to join any discussion.
1. Must have a MC assembler.
2. Must have a MC disassembler
3. Must know how to count and convert Hex to Binary to Decimal.
4. Must have a general knowledge of opcodes and understanding of same.
The first program we will try writting will be one to color in regular shaped objects. The logic of the writting of such a program may go the following way.
The display file starts at address 16384 and ends at 22527. This is for 24 lines with 32 (8) bit blocks per line. The attributes file starts at address 22528 and ends at 23295. This is for 24 lines with the last 2*32 bytes handling the last 2 lines. A good start is to search the screen until a location byte is other than 0 in the display file. Decode that byte and change it until everything from that bit on in the byte is a filled solid. Look at the next byte, if it is zero then change it to 255, and so forh until the next nonzero byte is found. Decode this second nonzero byte so that everthing to the right of the bit is filled in. Continue on to the next line and so on. You will have to set up a counter so that you do not go past the display file area. You may also have to change the attributes to change the color. Next draw a circle and check out your program.
We will discuss this program approach in the next meeting and then work on the program until the following meeting at which time we will each turn in a copy of the listing of our program opcodes.