General discussion

Discussion in 'General Off-Topic' started by Car crusher, Apr 4, 2014.

  1. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    My new CPU architecture ran its first program last night at approximately 4:10 AM.
    I really need some sleep.

    Code:
    @START
           MOVH  IMM   R01  %-32768
           MOVH  IMM   R02  %-1
           ADDH  R02   R01
    IF OVF MOVW  IMM   IAR  #+STORE
           WAIT
    
    @STORE
           MOVH  R01  (ZER) #+HALF
           WAIT
    
    @HALF
    RVAL                    %+0
    
    And a hex dump of the executable image:

    Code:
            0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F
    0000000 B0 08 13 00 80 B0 08 14 FF FF 08 00 43 00 00 00
    0000001 B5 2C 1F 1A 00 00 00 E0 00 00 B0 0D 30 24 00 00
    0000002 00 E0 00 00 00 00
    
    The simulator is not done -- so far only MOV and ADD instructions are implemented, as well as WAIT, which halts the simulator, and PFLG (not pictured here), which prints the status of the NEG, ZER, OVF and CBO arithmetic condition flags.

    Note the if statement - this is because the CPU uses full conditional execution.

    The processor is called "3203 High-Speed Integer Processor." Future components include a floating-point unit, memory management unit, vector processing unit, text terminal and raster display.
     
    #34721 vmlinuz, Nov 20, 2017
    Last edited: Nov 21, 2017
    • Like Like x 1
  2. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,798
  3. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    #34723 vmlinuz, Nov 21, 2017
    Last edited: Nov 21, 2017
  4. Rainvest

    Rainvest
    Expand Collapse

    Joined:
    Dec 26, 2014
    Messages:
    1,906
    is vr dead?

    i want a oculus rift
     
    • Agree Agree x 1
  5. redrobin

    redrobin
    Expand Collapse

    Joined:
    Aug 21, 2012
    Messages:
    606


    Now that's what American cars are all about.
     
    • Like Like x 2
    • Agree Agree x 1
  6. MisterKenneth

    MisterKenneth
    Expand Collapse

    Joined:
    Mar 26, 2016
    Messages:
    1,747
    That looks cool but dangerous.
    --- Post updated ---
    I wonder if any of them has been pulled over for speeding/racing.
     
  7. Potato

    Potato
    Expand Collapse

    Joined:
    Feb 19, 2013
    Messages:
    1,160
    It runs alright.
     
  8. Flippi 284

    Flippi 284
    Expand Collapse

    Joined:
    May 2, 2017
    Messages:
    2,856
    Well its definitely not as cool as it was when it came out, but I wouldn't say it was dead quite yet...
     
    • Agree Agree x 1
  9. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    Code:
    @START
    @OVERFLOW FLAG TESTING... 2 PLUS 2 IS 4 MINUS 1 THAT'S 3 QUICK MATHS
    @TEST1
           MOVB  IMM   R01  !-128
           MOVB  IMM   R02  !1
           SUBB  R01   R02
    IF OVF MOVW  IMM   IAR  #+TEST2
           MOVW  IMM   IAR  #+FAIL
    
    @TEST2
           MOVH  IMM   R01  %-32768
           MOVH  IMM   R02  %1
           SUBH  R01   R02
    IF OVF MOVW  IMM   IAR  #+TEST3
           MOVW  IMM   IAR  #+FAIL
    
    @TEST3
           MOVW  IMM   R01  #-2147483648
           MOVW  IMM   R02  #1
           SUBW  R01   R02
    IF OVF MOVW  IMM   IAR  #+PASS
           MOVW  IMM   IAR  #+FAIL
    
    @PASS
           WAIT
    
    @FAIL
           PFLG
           WAIT
    
    The HAL 3203 Integer Processing System now supports subtraction. It is also now Turing-complete, as it supports a "less than or equal" conditional branch, thus simulating a subleq instruction (Turing-complete != useful!). The above code is a test of the signed-overflow flag, which should be set in each case.

    The executable image is 92 bytes long.

    Anyhow, the most exciting part of the system is likely to be the I/O Channel Controller - the 3200-series is actually supposed to resemble a high-end minicomputer (sort of a proto-RISC, like the DEC Alpha) from the late 80's. The planned FPGA system-on-a-chip variant is likely to be clocked at < 100 MHz.
     
    #34729 vmlinuz, Nov 21, 2017
    Last edited: Nov 21, 2017
    • Informative Informative x 1
  10. Slammington

    Slammington
    Expand Collapse

    Joined:
    Aug 14, 2014
    Messages:
    1,460
    If Jimmy Carter is somehow still alive, I'm sure VR can manage for a few more years. I played Super Hot on the PlayStation VR the other day and it's absolutely brilliant; I felt like I was in the matrix doing cool judo moves, when in reality I'm just a dickhead with a VR headset flailing around senselessly ;)
     
    • Like Like x 1
  11. Spiicy

    Spiicy
    Expand Collapse

    Joined:
    Sep 8, 2016
    Messages:
    3,798
    I just made something for any threads without progress
    ScreenShot2017-11-21at90508PM.png
     

    Attached Files:

    • maxresdefault.jpg
  12. Joeyfuller2000

    Joeyfuller2000
    Expand Collapse

    Joined:
    Jan 19, 2015
    Messages:
    1,239
    #34732 Joeyfuller2000, Nov 22, 2017
    Last edited: Nov 22, 2017
    • Like Like x 1
  13. Cheekqo

    Cheekqo
    Expand Collapse
    Banned

    Joined:
    Feb 6, 2016
    Messages:
    1,456
    -Turns on PC-
    Windows 10: update
    Me: no
    Windows 10: yes
    Me: no
    Windows 10: updating
    Me: :|
     
    • Agree Agree x 2
  14. redrobin

    redrobin
    Expand Collapse

    Joined:
    Aug 21, 2012
    Messages:
    606
    What do I do at 3AM? Set up a network shared folder, of course.
     
    • Like Like x 1
    • Informative Informative x 1
  15. BombBoy4

    BombBoy4
    Expand Collapse

    Joined:
    May 16, 2015
    Messages:
    1,601
    • Agree Agree x 1
  16. Codeslamer

    Codeslamer
    Expand Collapse

    Joined:
    Jul 3, 2017
    Messages:
    187
    Same here. It's a shame that info on games going free for a limited time isn't spread better. If anyone's looking for free game offers, I recommend checking the humble bundle store every now and then. Thhere's pretty much a free game there every 2-4 weeks
     
    • Agree Agree x 1
  17. Wild Hog

    Wild Hog
    Expand Collapse

    Joined:
    Oct 30, 2016
    Messages:
    1,144
    I got the collector's edition of watch dogs on the Xbone cause it's a damn good game (and that it was only 40€)
     
    • Like Like x 1
    • Agree Agree x 1
  18. Wild Hog

    Wild Hog
    Expand Collapse

    Joined:
    Oct 30, 2016
    Messages:
    1,144
    Here's the Nvidia Ansel screenshot I talked about a few days ago, well actually it's not the 30GB one....

    Feel free to download that zip and open the .EXR picture I guess
     

    Attached Files:

    • Like Like x 1
  19. VeyronEB

    VeyronEB
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,537
    Upgraded my PS2 cable from a standard composite to RGB scart, holy crap I never knew it could look so good..

    Super close up of before:



    And after:
     
    • Like Like x 6
    • Agree Agree x 2
    • Informative Informative x 2
  20. Michaelflat

    Michaelflat
    Expand Collapse

    Joined:
    Jul 10, 2014
    Messages:
    1,543
    Maths test in school and this was one of the questions
    upload_2017-11-22_21-36-10.png
    I almost had a laughing fit its so bad. And on the same test...
    upload_2017-11-22_21-37-2.png
    and this question...
    upload_2017-11-22_21-37-50.png
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice