Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 410 Bytes

File metadata and controls

15 lines (11 loc) · 410 Bytes

Moving box with keyboard input

In this sample code, we will be moving a box in video mode with keyboard input. We used .386.

Topics that you may find interesting in the code

  • How to write .386 code

  • How to use a label as a procedure

  • How to use the screen buffer to draw in the screen

  • built a simple keyboard input handler

  • Looked at the ASSUME directive

    ASSUME CS:CODE,DS:DATA