User Tools

Site Tools


journal:spring2019:relliot9:week1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

journal:spring2019:relliot9:week1 [2019/05/03 19:02] (current)
Line 1: Line 1:
 +=====comporg week 1=====
 +----
 +====Other Notes====
 +  * Alt + 2 Csci
 +  * Alt + 3 Unix
 +  * Alt + 4 Hpc
 +  * Comporg/​spring2018 - Previous class
 +
 +====January 22, 2019====
 +
 +Learning an 8 bit Processor produced my MOS
 +
 +  * 4004 - first commercially successful processor (INTEL)
 +  * 6502 - Produced by Mos
 +  * 6800 - Produced by Motorola
 +
 +Transistor made computers smaller and more efficient.
 +
 +This is because computers are made of switches, The more switches you have the more combinations that you have.
 +
 +  * Relay - Physical switch, similar to a lightswitch
 +    * Poses problems when it is activated or used too often. Heat was also a problem. ​
 +
 +  * ______ - Chemical switch
 +    * Posed same problem as the Relay, overheated or wore down over time.
 +
 +  * Transistor - 
 +    * sandwiched positive and negative charges, then activated it. It is still controlable
 + * This was awesome because there were no moving parts. (solid state) This would not wear out, plus it allowed things to become much much smaller.
 + * Problem, even if we knew how to do it, we coult only write to it once, not overwriting anything. Lifespan of writes was very limited.
 + * Could be seperated by only Nano Meters of space in modern technology. This makes it so that you waste less power and generate less heat. 
 +
 +Rowhammer - writing a certain ammount of memory quickly created bleedthrough,​ which caused it to replicate in nearby bytes.They did not account for this. It caused the actual mechanical parts of the hardware to "​betray"​ the Operating System.
 +
 +Race Condition - Where if you know something is on a certain schedule, but you try and get in before it. deals with timing. making a program read something you put in rather than its own thing.
 +
 +Switches cause operations such as logic gates && || ! etc.
 +
 +Processor designs are made to acheive a certain goal. comparing them is difficult. ​
 +
 +ammount of bits refers to the"​Word Size" - basic unit of transaction (Performance of an instruction)
 +
 +Operations on the computer take time to complete. This is calibrated by a clock. ex: Overclocking speeds up things, but it risks overheating. This measures the ammount of cycles. ​
 +
 +  *Clock Speed (advertised) Hz 
 +  *Bus Speed (speed in reality)
 +
 +==Model : The Executing of an Instruction==
 +
 +  * Fetch - goes out to memory and grabs the instructions
 +  * Decodes - What did I just Get?
 +  * Execute - Activates the circuit for the different thing, depending on what was just gotten. ​
 +  * Store - Puts the results back in memory.
 +
 +How fast does this happen? ​
 +
 +==Processor Design==
 +
 +CISC Processor - each thing takes as long as it needs to. Has different instructions to activate different circuits. lumps instructions together
 +
 +RISC Processor - Made things universal. Every instruction takes the same exact time as every other. More steady, a more compact chip design. You needed more knowledge of specific codes and instructions. ​
 +
 +==Components of the Typical CPU==
 +
 +  * ALU - Arithmetic Logic Unit
 +  * CU - Control Unit
 +  * RA - Registers
 +    *Memory that is physical on the CPU (unchangable),​ different from RAM.
 +
 +The more complex the program gets, the more mindful we need to be of the ammount of memory and the CPU's ability to handle it.
 +
 +==6502==
 +
 +8 bit processor, runs at 1.79MHz
 +
 +Simulating the hardware is very popular to create even new games for this
 +
 +Plan for this semester is to possibly be familair enough with the environment to try and make a full-fledged NES Game. 
 +
 +Speedrunners know how the system works in order to manipulate things to their advantage. ​
 +
 +We will be Using the wiki to become a howto to how to make and use NES Roms.
 +
 +We should be able to get everything we need to get going and make a rom that is runnable in an emulator.  ​
 +
 +==mednafen==
 +
 +==nestopia==
 +
 +Need a file to run
 +
 +cc65 --help
 +
 +
 +
 +=====hpc0 week 1=====
 +----
 +====January 22, 2019====
 +
 +This class is a gateway to being a system administrator.
 +
 +PC repair is more often getting pieces you dont know, not knowing right off the bat.
 +
 +Overarching project is to document learning thigns on the wiki, enhancing wiki content, and for the notes page to become the ultimate howto for this class.
 +
 +  * different types of hardware
 +  * different types of RAM
 +  * different Parts of a computer in general
 +
 +Starting off with a grand tour of a generic computer system. ​
 +
 +
 +=====sysprog week 1=====
 +----
 +====January 22, 2019====
 +
 +This class deals more with higher and more complicated aspect of the computer, rather with the lowest part. It deals with the OS and the resources that the operating system provides.
 +
 +We deal with file access, text and data, special files, terminal control, memory allocation, threading, concurrency,​ multi-process stuff.
 +
 +I guess we are making a videogame with SDL. I really need to relearn SDL
 +
 +==SDL NOTES==
 +
 +need to initiate sdl before we are able to do anything. all commands for SDL are prefixed bt SDL_
 +
 +everything is in /​usr/​include/​SDL (SDL.h)
 +
 +worked on sysprog/​intro files. ​
  
journal/spring2019/relliot9/week1.txt · Last modified: 2019/05/03 19:02 (external edit)