Search

You can find the results of your search below.

Results

bakingpi:input02: 121 Hits
ts and displays them. It is assumed you have the code for the Lesson 11: [[Input01]] operating system a... We can build this on top of our existing screen code, by storing the characters and their colours, and... n a new file called terminal.s copy the following code: <code> .section .data .align 4 terminalStart: .int terminalBuffer terminalStop: .int terminalBuffer te
bakingpi:input01: 84 Hits
rk. It has been written in C and the full source code can be found on the [[downloads]] page for those ... ead we'll look at how to work with other people's code. ===== Linking ===== Since we're about to incorporate external code into the Operating System, we need to talk about ... that when a program is made, we don't necessarily code every function (almost certainly not in fact). L
bakingpi:screen01: 75 Hits
rol the screen using the Raspberry Pi in assembly code, starting at just displaying random data, then mo... s one to get the address of the mailbox region. <code> .globl GetMailboxBase GetMailboxBase: ldr r0,=0x2000B880 mov pc,lr </code> ==== MailboxWrite ==== The sending procedure i... 1. This achieves our validation on r0 and r1. <code> .globl MailboxWrite MailboxWrite: tst r0,#0b1111
bakingpi:ok03: 72 Hits
in assembly to make more reusable and rereadable code. It is assumed you have the code for the Lesson 2: [[OK02]] operating system as a basis. ===== Reusable Code ===== So far we've made code for our operating system by typing the things we want to happen in order.
bakingpi:screen03: 47 Hits
the operating system. It is assumed you have the code for the Lesson 7: [[Screen02]] operating system a... exactly the same. ASCII / Unicode Symbols 0-127 <code> 0 1 2 3 4 5 6 7 8 9 a b c d e f ... q r s t u v w x y z { | } ~ DEL </code> The table shows the first 128 symbols. The hex... monochrome, 8x16 font Bitstream Vera Sans Mono. <code> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
bakingpi:ok01: 37 Hits
ension is commonly used for all forms of assembly code. The Raspberry Pi uses a variety of assembly code called ARMv6, so that is what we'll need to write in... It is up to us to remember these assembly source code files are for ARMv6. Open 'main.s' in a text editor so that we can begin typing assembly code. This file will contain the code for this operat
wiki:syntax: 35 Hits
nd_strings_in_your_installation|localization]]): <code - conf/lang/en/lang.php> <?php /** * Customizati... be modified */ $lang['js']['nosmblinks'] = ''; </code> ==== Image Links ==== You can also use an imag... t use indention for deeper levels - That's it <code> * This is a list * The second item * You... t use indention for deeper levels - That's it </code> Also take a look at the [[doku>faq:lists|FAQ on
bakingpi:screen04: 33 Hits
w to manipulate text. It is assumed you have the code for the Lesson 8: [[Screen03]] operating system a... nipulation we could ever want, we get much easier code later on in return. Once such complicated functi... ic functions look much less intuitive in assembly code. Nevertheless, they are useful and powerful conc... . It is not implemented directly in ARM assembly code because it takes so long to deduce the answer, an
bakingpi:screen02: 30 Hits
seudo random numbers. It is assumed you have the code for the Lesson 6: [[Screen01]] operating system a... e. We will attempt to implement this in assembly code, but first we could really use some other functio... ss ==== It will be helpful for future if we write code that could draw to any memory, not just the scree... of a different structure, and use the exact same code. For simplicity we will use another piece of dat
bakingpi:ok04: 22 Hits
at precise intervals. It is assumed you have the code for the Lesson 3: [[OK03]] operating system as a ... unter, and then keep branching back into the same code until the counter is the amount of time to wait m... isters and then keep branching back into the same code until the Control / Status register updates. Bot... perform background tasks. I suggest you put all code related to the timer in a file called 'systemTime
bakingpi:ok05: 21 Hits
uilds on [[OK04]] using it to flash the SOS Morse Code pattern (...---...). It is assumed you have the code for the Lesson 4: [[OK04]] operating system as a ... data. At the end of 'main.s' copy the following code: <code> .section .data .align 2 pattern: .int 0b11111111101010100010001000101010 </code> .align num en
bakingpi:software_requirements: 20 Hits
system. This cross-compiler converts your source code files into Raspberry Pi-compatible executable fil... r Fedora Linux (24+), use the following command: <code> $ sudo dnf install arm-none-eabi-binutils arm-none-eabi-gcc-cs </code> Note: Earlier Fedora versions may use the "yum"... lchain via apt-get. Run the following command: <code> $ sudo apt-get install gcc-arm-none-eabi </code>
bakingpi:introduction: 15 Hits
of what is an operating system, what is assembly code and other important basics. If you just want to ... erry Pi, where the CPU can store large amounts of code and data for quick access. Raspberry Pi comes wi... rivers** was invented. Drivers are small bits of code that can be added and removed from the operating ... ecific ones for the Raspberry Pi. ===== Assembly Code ===== This course will be written almost exclusiv
bakingpi:troubleshooting: 15 Hits
rded, hence the error is saying that some of your code was discarded. Check your spelling on .section c... his error means that the linker hasn't found your code. Double check you've got a source directory with... caught ==== make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x425073) This is an error ... pt does not, then we know it is something in your code. On the later tutorials, try altering the start
bakingpi:downloads: 14 Hits
bakingpi:ok02: 10 Hits
bakingpi:algorithm_derivation: 10 Hits
tempest: 9 Hits
bakingpi:build_your_own_linux_toolchain: 8 Hits
bakingpi:top: 8 Hits
android: 6 Hits
bakingpi:hid.c: 4 Hits
bakingpi:usbd.c: 4 Hits
bakingpi:keyboard.c: 4 Hits
bakingpi:hub.c: 4 Hits
gpg: 4 Hits
bakingpi:device.h: 4 Hits
bakingpi:designware20.c: 4 Hits
bakingpi:mouse.c: 4 Hits
bakingpi:broadcom2835.c: 4 Hits
bakingpi:types.h: 4 Hits
bakingpi:armv6.c: 4 Hits
don_t_break_the_web_for_stupid_reasons: 4 Hits
bakingpi:roothub.c: 4 Hits
bakingpi:platform.c: 4 Hits
bakingpi:configuration.c: 4 Hits
bakingpi:keyboard.h: 3 Hits
personal_computers_are_no_longer_personal: 3 Hits
games: 3 Hits
raspberry_pi_boot: 3 Hits
bakingpi:mouse.h: 3 Hits
bakingpi:hub.s: 3 Hits
bakingpi:report.h: 3 Hits
bakingpi:hid.s: 3 Hits
bakingpi:mouse.s: 3 Hits
bakingpi:keyboard.s: 3 Hits
bakingpi:designware20.s: 3 Hits
bakingpi:roothub.s: 3 Hits
bakingpi:configuration.s: 3 Hits
bakingpi:hardware_requirements: 3 Hits
bakingpi:broadcom2835.s: 3 Hits
bakingpi:armv6.s: 3 Hits
bakingpi:platform.s: 3 Hits
bakingpi:csud: 3 Hits
bakingpi:usbd.s: 3 Hits
bakingpi:hcd.h: 3 Hits
bakingpi:descriptors.h: 3 Hits
bakingpi:devicerequest.h: 3 Hits
bakingpi:pipe.h: 3 Hits
bakingpi:configuration.h: 3 Hits
bakingpi:hub.h: 3 Hits
bakingpi:designware20.h: 3 Hits
bakingpi:hid.h: 3 Hits
bakingpi:byteorder.h: 3 Hits
bakingpi:broadcom2835.h: 3 Hits
bakingpi:armv6.h: 3 Hits
bakingpi:usbd.h: 3 Hits
bakingpi:platform.h: 3 Hits
webos: 2 Hits
bakingpi:font1license: 2 Hits
bakingpi:font0license: 2 Hits
bakingpi:functions_explained: 2 Hits
bakingpi:long_division_explained: 2 Hits
bakingpi:hexadecimal_explained: 2 Hits
bakingpi:linux_prebuilt_toolchain: 2 Hits
bakingpi:linux_prepackaged_toolchain: 2 Hits
assembly: 1 Hits
atari_st: 1 Hits
bakingpi:binary_explained: 1 Hits
raspberry_pi: 1 Hits
ingress: 1 Hits
browser_sexuality: 1 Hits