csavas
csavas
207 / 2
14th Jul 2019
21st Jul 2019
Day Of The Week Calculator! Write in a date (example: 2019.07.14), and it writes out which day is that (example: Sunday). Works in the range 1587.11.01. - 9999.12.31. Writes error if month not 1-12 or day not 1-31. No errors shown for writing February 31
electronic week algorithm code r216k2a calculator dayofweek subframe r216 computer

Comments

  • peterCZ
    peterCZ
    14th Jul 2019
    i said it twice cuz 2 is better
  • peterCZ
    peterCZ
    14th Jul 2019
    type in "2,0,2,2,0,2,2,2" you get 2nd day of the week wich is TUESDAY making it TWOSDAY
  • peterCZ
    peterCZ
    14th Jul 2019
    my favorite number is 2 , in year 2022 february 22nd its tuesday , the second day of the week , making it TWOSDAY
  • csavas
    csavas
    14th Jul 2019
    TakMashido: Sometimes you have to think outside the box/computer.
  • TakMashido
    TakMashido
    14th Jul 2019
    "I havn't figured how I/O works[...]". Hmm... Are you just hacked R216K2A?
  • csavas
    csavas
    14th Jul 2019
    LBPHacker: Anyways, if I used the normal I/O I had to make the keypad part more complex by making it listen and send attention requests (?), and getting the timing right. (2/2)
  • csavas
    csavas
    14th Jul 2019
    LBPHacker: I wanted to make a simple echo program for the R2 in the demo. But then I saw that the FILT between terminal and keyboard changes to the same ctype no matter what I press. From the manual I get to know that it is the attention request. I made the computer wait for it, and send attention request back. Soon the keyboard sends the correct character code. I used some NOPs to make sure it arrives before using recv and then send, but send always sends the same code, a 'G'. (1/2)
  • goblin01
    goblin01
    14th Jul 2019
    haha I tried 1st January 1970. I thought it would break it but no, it shows Thursday
  • Jessen
    Jessen
    14th Jul 2019
    Wow thats was cool
  • LBPHacker
    LBPHacker
    14th Jul 2019
    Lol, cool. Though I feel I must ask what perplexes you so much about how I/O ports work.