bootloader

Reading more sectors than there are on a track with int 13h

China☆狼群 提交于 2020-12-11 08:54:03
问题 What is the order int 13h with ah=02h will read 19 sectors starting at (C, H, S) = (0, 0, 1) provided a (floppy) disk geometry of 2 heads, 18 sectors per track and 80 tracks per side. Or, more generally, what happens when it reaches the end of track 0, head 0? Does it go to track 1 or head 1? Does it even work properly in this case? EDIT: Wait.. is this actually like hours, minutes, seconds? If we reach the end of the track (S is greater than 18), then H is increased? 回答1: Modern BIOSes

What is causing this bootloader to fail on hardware but not in DOSBOX? It displays all registers

时光毁灭记忆、已成空白 提交于 2020-12-11 08:53:29
问题 I recently wrote an x86 'bootloader' program that shows the values of the hardware registers after the BIOS jumps to my program. For the purpose of testing, I set the AX register to a known value to ensure that the program runs correctly. BITS 16 %macro pad 1-2 0 times %1 - ($ - $$) db %2 %endmacro [org 0x7C00] CLD ; clear direction flag (forward direction) CLI ; clear interrupt flag (disable interrupts, opposite of 65xx) MOV [0x8000], AX ; display all registers, MOV [0x8004], BX ; including

Sparkfun Edge bootloader problems

浪子不回头ぞ 提交于 2020-08-07 01:27:51
问题 Finally the sparkfun board edge boards arrived today ;-) Following this well written guide : https://codelabs.developers.google.com/codelabs/sparkfun-tensorflow/#3 i am stuck with the following NoResponseError when trying to flash the code on the Ambiq, with the uart_wired_update.py script, that comes with tensorflow examples opprud$ python3 tensorflow/lite/experimental/micro/tools/make/downloads/AmbiqSuite-Rel2.0.0/tools/apollo3_scripts/uart_wired_update.py -b 115200 /dev/cu.usbserial-1430

How to write a custom bootloader for mac systems?

六眼飞鱼酱① 提交于 2020-08-06 05:18:58
问题 I wrote a little bootloader in assembly and it uses BIOS interrupts and it works great on my pc. My question is, is there any possibility to make it work on Mac / Apple systems. I know that Apple doesn't use BIOS in that sense and that they are locking lot of things down. However it is possible to use a live ubuntu stick on mac, so might it be possible to run an assembly program from startup on a mac? If yes, do you know any starting points or references of what has been done before? Thanks a

I was looking for a default U-boot configuration for BeagleBone Black. I cannot find am335x_boneblack_defconfig inside u-boot/configs/ folder

旧巷老猫 提交于 2020-07-22 05:19:29
问题 The old versions show am335x_boneblack_defconfig(branch v2017.01 instead of the master) file inside the directory but I am not able to see it in the newer version.So which branch should I use to build U-Boot for BeagleBone Black? Under boards/ti/am335x/, I saw that am335x_* can be used for BeagleBone Black. Any help will be appreciated? 回答1: I think you can use configs/am335x_evm_defconfig - see line 36: CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen