Coding on a 1980s Business Minicomputer!
215 هزار بار بازدید -
2 سال پیش
-
NOTE: My understanding of Modulo
NOTE: My understanding of Modulo was incorrect here. The actual remainder stored in "OPA" will be different than what I show in the video. In the examples, 28/3, the remainder will actually be 1 (9:3=27;28-27=1). For 37/5, the remainder will be 2 (5*7=35, 37-35=2).
Happy holidays y’all! There are many different facets to the Centurion project that we’ve been working hard on, and one of those is cracking the code for… code. And, I think we’ve got it! Tag along as I walk through writing a program in CPL, Centurion Programming Language, and have all sorts of trouble with the built-in editor, compile errors, coding mistakes, etc. You know, the usual fair when programming anything!
Centurion Wiki:
https://github.com/Nakazoto/Centurion...
All of the code used in this episode and the CPU6 Programmer's Manual are available at the links below:
https://github.com/Nakazoto/Centurion...
https://github.com/Nakazoto/Centurion...
If you want to support the channel please hop over to Patreon:
Patreon: usagielectric
Also, we now have some epic shirts for sale!
https://my-store-11554688.creator-spr...
Come join us on Discord and Twitter!
Discord: Discord: discord
Twitter: Twitter: UsagiElectric
Intro Music adapted from:
Artist: The Runaway Five
Title: The Shinra Shuffle
https://ocremix.org/remix/OCR01847
Thanks for watching!
Chapters
0:00 Introduction
1:00 What is a Centurion?
5:08 Now a look at the software side
7:27 What kind of code are we going to write today?
8:33 Let’s spin the big boy up
10:24 Time to start coding
12:14 Necessary house keeping at beginning of code
13:47 Setting formats and declaring variables
15:38 Writing the entry into the program
16:28 Printing text on the CRT
17:28 Our main program loop
22:59 Printing the answer
24:06 Closing down the program and handing back control
25:18 Compile attempt #1
29:00 Compile attempt #2
30:10 Compile attempt #3
32:00 Compile attempt #4 (nailed it)
33:10 Why was it so slow?
33:56 What if you want to program something?
35:50 Bunny!
Happy holidays y’all! There are many different facets to the Centurion project that we’ve been working hard on, and one of those is cracking the code for… code. And, I think we’ve got it! Tag along as I walk through writing a program in CPL, Centurion Programming Language, and have all sorts of trouble with the built-in editor, compile errors, coding mistakes, etc. You know, the usual fair when programming anything!
Centurion Wiki:
https://github.com/Nakazoto/Centurion...
All of the code used in this episode and the CPU6 Programmer's Manual are available at the links below:
https://github.com/Nakazoto/Centurion...
https://github.com/Nakazoto/Centurion...
If you want to support the channel please hop over to Patreon:
Patreon: usagielectric
Also, we now have some epic shirts for sale!
https://my-store-11554688.creator-spr...
Come join us on Discord and Twitter!
Discord: Discord: discord
Twitter: Twitter: UsagiElectric
Intro Music adapted from:
Artist: The Runaway Five
Title: The Shinra Shuffle
https://ocremix.org/remix/OCR01847
Thanks for watching!
Chapters
0:00 Introduction
1:00 What is a Centurion?
5:08 Now a look at the software side
7:27 What kind of code are we going to write today?
8:33 Let’s spin the big boy up
10:24 Time to start coding
12:14 Necessary house keeping at beginning of code
13:47 Setting formats and declaring variables
15:38 Writing the entry into the program
16:28 Printing text on the CRT
17:28 Our main program loop
22:59 Printing the answer
24:06 Closing down the program and handing back control
25:18 Compile attempt #1
29:00 Compile attempt #2
30:10 Compile attempt #3
32:00 Compile attempt #4 (nailed it)
33:10 Why was it so slow?
33:56 What if you want to program something?
35:50 Bunny!
2 سال پیش
در تاریخ 1401/10/11 منتشر شده
است.
215,041
بـار بازدید شده