host/sys: use segment 60h for kernel

This commit is contained in:
Nero 2021-12-14 18:07:52 +00:00
parent e2d244a919
commit 79a86bad49

View File

@ -110,7 +110,7 @@ int main(int argc, char** argv) {
int min_s = base + (min - 2) * cs; int min_s = base + (min - 2) * cs;
int max_s = base + (max - 2) * cs + (cs - 1); int max_s = base + (max - 2) * cs + (cs - 1);
int bx = 0x100; int bx = 0x100;
int es = 0x70; int es = 0x60;
char* bs = (char*)&bootsect; char* bs = (char*)&bootsect;
char* ptr = bs+0x3E; char* ptr = bs+0x3E;