??? 07/24/08 00:38 Read: times |
#156989 - No question about it! Responding to: ???'s previous message |
Neil Kurzman said:
But it does look like he wants to make a little PC.
The LCD is not that hard, the keyboard, same. Talk to EEPROM or FLASH same. Now moving up, BASIC52 fit into 8K. 64K chips are common now. Perhaps you can shed some light on how more than 8KB might be of use in combination with BASIC52. It would be useful to know how to substitute the user interface with PS/2 keyboard, which takes up about 2KB, IIRC, (that's one way in which more code space would help ... maybe) when you include all the lookup tables, and the LCD interface for the dumb terminal that BASIC52 expects. Add an assembler is a lot more work. Then comes the issue where are you going to run from? The 8052 does not fully support relative instructions. The code must run at the address it is coded. Plus the Memory spaces are separate. They can be combined but then you get Only 64K not 64K Code + 64K RAM. On the plus side newer chips have FLASH. So you can write to that. Yes you can, but not too many times. All that he said is do-able. But some of it is a bit of work. So what would be the point of using BASIC52? If he runs the ULTRAMON51 monitor as a development tool, he can experiment with that, at least to the extent of working out the PS/2 and LCD interfaces and how to splice them in to replace the dumb terminal that BASIC52 expects, but, unfortunately, it wants to live at 0x0000, too. With its built-in line-by-line assembler, and corresponding disassembler, ULTRAMON51 is actually more capable as a development tool than BASIC52. Now, if only there were a way to get them to co-reside. RE |