Welcome to the web pages for the INF3151 groups, autumn 2010. This will be the primary channel for getting information from the TA (gruppelærar) to the students.
You are welcome to attend either group, regardless of which group you belong to. It is also possible for teams to belong to different groups.
This course has some precode, and it is important to have a firm grasp on that code. I will therefore do a discussion of the precode shortly after each project has been made available. I will give notice here on this page, and when possible at the lectures. So please check this page regularly for important information.
If you have questions or suggestions please contact your TA when you see him, or on email.
TAs this year are:
Ivar Refsdal, email: ivarref alfakrøll student.uio.no
Jon Anders Skorpen, email: jonas alfakrøll ifi.uio.no
Please include INF3151 or INF4151 in the subject of the email.
Design review group 1
Send an email to jonas alfakrøll ifi.uio.no to make an appointment.
Design review group 2
Send an email to ivarref alfakrøll student.uio.no to make an appointment. Please include a desired time range as well as the filename your group sent in.
Bochs and some other tools are located in /hom/inf3151/tools/
If you add /hom/inf3151/tools/bin to your PATH you will be able to run bochs in the terminal. This bin-path should be added to the end of the PATH.
A working configuration file is located in: /hom/inf3151/tools/bochs/bochsrc.txt
Bochs command names:
bochs - just normal bochs, nothing extra. Config file: You need to disable magic_break and gdbstub enabled=0.
bochsi - bochs with internal debugger. Config file: Make sure magic_break is enabled.
bochsd - bochs with gdb support. Config file: Set gdbstub enabled=1.
All these settings are provided in the sample config file, so just search for the different keywords and you will see the precise details.
To debug using qemu and gdb, put something like:
target remote | exec qemu -gdb stdio -no-fd-bootchk -fda image
in a file called .gdbinit in the directory where you have your implementation. From now, each time you run gdb, qemu will start, and break at the first intstruction.
From source code to running program.
A subset of the ELF-header.
Help people get into teams.
The PC-architecture. Intel 32-bit Architecture.
Real mode and real mode memory.
Hello, World! and cpuid in assembly language.