Diff for /np2/bios/Attic/bios02.c between versions 1.1 and 1.5

version 1.1, 2003/10/16 17:58:19 version 1.5, 2004/03/07 23:04:50
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
 #include        "i286.h"  #include        "cpucore.h"
 #include        "memory.h"  
 #include        "pccore.h"  #include        "pccore.h"
 #include        "iocore.h"  #include        "iocore.h"
 #include        "bios.h"  #include        "bios.h"
Line 17  static const char msg4[] = " MEMORY"; Line 16  static const char msg4[] = " MEMORY";
 static UINT16 textout(UINT16 ptr, const char *str) {  static UINT16 textout(UINT16 ptr, const char *str) {
   
         while(*str) {          while(*str) {
                 i286_membyte_write(0xa000, ptr, *str);                  MEML_WRITE8(0xa000, ptr, (UINT8)*str);
                 i286_membyte_write(0xa200, ptr, 0x43);                  MEML_WRITE8(0xa200, ptr, 0x43);
                 str++;                  str++;
                 ptr += 2;                  ptr += 2;
         }          }
Line 42  void bios0x02(void) { Line 41  void bios0x02(void) {
                 textout(ptr, msg4);                  textout(ptr, msg4);
                 mem[0x004f8] = 0xfa;            // cli                  mem[0x004f8] = 0xfa;            // cli
                 mem[0x004f9] = 0xf4;            // hlt                  mem[0x004f9] = 0xf4;            // hlt
                 I286_CS = 0;                  CPU_CS = 0;
                 I286_IP = 0x4f8;                  CPU_IP = 0x4f8;
         }          }
 }  }
   

Removed from v.1.1  
changed lines
  Added in v.1.5


RetroPC.NET-CVS <cvs@retropc.net>