Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 523 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 523 Bytes

print-diamonds

PrintDiamond

A function that draws a solid diamond on display memory after taking following parameters from main function:

  • location (rowno, colno) i.e. the top position of the diamond
  • width of the diamond
  • character with which the diamond has to be filled
  • color/attribute of the diamond

swap

After printing the diamond for 5 seconds (using delay), swap the first 12 rows of the display memory with the last 12 rows using movs instruction. Do not clear the introduction screen in the start.