12Me21
12Me21
85 / 3
1st Jun 2017
7th Jun 2017
reset: MOV bx,0 MOV dx,50001 MOV ex,0 loop: MOV ax,bx ADD ax,dx @noflags MOV cx,0 ADC cx,0 SHRD ax,cx,1 SEND 0,ax ADD ex,1 WAIT cx CMP cx,2 JA toohigh JB toolow SEND 0,ex HLT JMP reset toohigh: MOV dx,ax JMP loop toolow: MOV bx,ax JMP loop
r16k1s60 pressstart memorydump program 60hz 16bit quiteuseless pressenterlumage

Comments

  • QuanTech
    QuanTech
    2nd Jun 2017
    ah i should've typed in asm instead of assembly. here's the properly highlighted version https://pastebin.com/p4pXnPRg
  • QuanTech
    QuanTech
    2nd Jun 2017
    for those who want the indented version of the code, https://pastebin.com/4XC0vUcV. Ignore the syntax highlighting, I didn't know which one to pick because there were multiple options when i typed in assembly.
  • handicraftsman
    handicraftsman
    2nd Jun 2017
    AH, it just stops machine
  • handicraftsman
    handicraftsman
    2nd Jun 2017
    `correct` button is broken
  • Garuda
    Garuda
    2nd Jun 2017
    In referal to my previous question- I ment to direct the question at @12Me21. So @12Me21- How do oyu make the filt change colour so fast? And why must it change colour at such a speed?
  • 12Me21
    12Me21
    2nd Jun 2017
    Ok now it displays the number of guesses at the end
  • 12Me21
    12Me21
    2nd Jun 2017
    I realized I should've just changed the initial value of DX to 0x8000
  • Schmolendevice
    Schmolendevice
    2nd Jun 2017
    @thingsarecool and @choruseye Of course that, but the reason the "colours" are changing so fast is because those colours are actually the effect of the data stored in them. FILT has a 30-bit ctype that you can perform logic and eventually arithmetic with. The flashing colours are akin to internal data transfers and calculations being made. As per its speed, look into subframe.
  • thingsarecool
    thingsarecool
    2nd Jun 2017
    V because otherwise it would be slower
  • Garuda
    Garuda
    1st Jun 2017
    @LBPHacker- How do you make the filt change colour so fast? And why must it change colour at such a speed? +1