Author Topic: Simple tasks states for virtual 8086 mode  (Read 10681 times)

Offline Deskman243

  • Jr. Member
  • *
  • Posts: 49
Simple tasks states for virtual 8086 mode
« on: March 18, 2023, 04:04:30 AM »
Goodness and best wishes chat

I'm continuing the subjects from earlier posts referenced here https://forum.nasm.us/index.php?topic=3712.0
I've cleaned around my custom task and now have code for setting up the task state segment. I'm trying to test a simple IOPB from another forum by running a basic call for alphanumeric text here

Code: [Select]
mov ecx,0

mov cx,40h
mov es,cx
mov dx,0
mov dx,es:[63h]
add dl,4            ;debugging area
mov al,es:[65h]
and al,11011111b
out dx,al
mov es:[65h],al

ret


By the looks of things testing this does not get any more easy however debugging these object files gets lost around the mentioned area. I'm hoping that I'm not the only one going through this and would really like to continue looking into this here again and my code is available on here to anyone else who would like to look too.

Cheers