| 1. |
Solve : Can i8086 run 8-bit software?? |
|
Answer» Hi! Because it was pin-compatible with the 8088 and relatively inexpensive, the V20 was also a POPULAR end-user upgrade for systems with a socketed processor, including the original IBM PC and XT. I worked in Santa Clara years ago and wrote 8080 code for internal use on hard drive test machines. The 8086 was not available at first and 8080 computers made by National were low priced for industrial use. On eBay one can still buy a very old NEC PC that can run an older version of DOS. I have attached a picture. I do not know how one could make the chip yo start 8080 mode. My understanding of the mode switch is that it was implemented as an added instruction that the V20 and V30 supported, the BRKEM instruction, which could be used to switch between the two modes. Presumably under DOS using 8-bit instructions them would be a case of executing the mode switch, running the 8-bit code, then switching back to 16-bit before returning control to the OS. (I wouldn't expect not switching back to work very well!). So booting an 8-bit OS on them I think would require the OS to be aware of that CPU and execute the instruction first? Or maybe a special 16-bit boot loader for the 8-bit OS that switches the mode? Note: found that information on the chip here Here really I understand not. I know that instruction set of 8080 and its enhanced version Z80 is very similar to x86 architecture, but not the same - or not? Really is possible implement code for 8080 on 8086? Or even - will 8088 code run on 8086? Your explanation is bit confusing. For explanation of my purpose: I know 8080/Z80 and 6502/65C816 assembly language. Purpose: I want to create 8-bit DOS for machines running x86 architecture, as option x80 and even machine specific x65 and/or 65k architecture. Simply - x86 is similar to x80 - but AFAIK not the same, x65 and 65k are near same... so it is maybe about 2 options, but machine specific... Please explain me if I think anything wrong, but with easy English, my English is poor. Thank you. Miro |
|