Advertisement
Guest User

Untitled

a guest
May 14th, 2019
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CSEG SEGMENT PARA PUBLIC "CODE"
  2. ASSUME CS:CSEG, DS:CSEG, ES:CSEG, SS:CSEG
  3. ORG 100H
  4. .386 ;to be able to use [eax] registers
  5.  
  6. ;Reference: https://github.com/leonardo-ono/Assembly8086MarioMusicOnPCSpeakerTest
  7. ;MIDI: https://www.thefinalfantasy.com/ff6/music-midi.html
  8.  
  9. ;Assembly Project - DCIT24
  10. ;Cavite State University - Indang
  11. ;School Year 2018 - 2019
  12. ;Bachelor of Science in Information Technology
  13.  
  14. ;Members:
  15. ;Bendo, Alex A.
  16. ;Lim-it, Brandon B.
  17. ;Mendegorin, Aaron Dave A.
  18. ;Montajes, Pergelyn A.
  19. ;Pag-ong, Timotheo Jr. P.
  20. ;Punay, Jaykel O.
  21. ;Recto, Marvin C.
  22. ;Romasanta, Wendell Arghel H.
  23. ;Saclolo, Nica R.
  24. ;Villanueva, Aeron John E.
  25.  
  26. MAIN PROC PROJECT
  27.  
  28.     CALL CLEAR_SCREEN ;to clear the screen
  29.     CALL PRINT_NEWLINE ;print new line (\n)
  30.  
  31.     ;Print banner (TOP)
  32.     MOV dx, OFFSET str_banner
  33.     CALL PRINT
  34.     CALL PRINT_NEWLINE
  35.  
  36.     ;Print colored title
  37.     MOV ah, 09h ;Start of when changing color
  38.     MOV bl, color_title ;set the color
  39.     MOV cx, count_title ;set how many characters of the string to colorize
  40.     INT 10h ;do the colored string
  41.     MOV dx, OFFSET str_title
  42.     CALL PRINT ;Print the title string
  43.  
  44.     ;Print banner (BOTTOM)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement