|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
BootStraps
Hi everyone, Im AgentSmithers Currently Im studing ASM with MASM32 and NASM and right now im just working on a simple bootstrap and I got this so far just as a starter
Code:
[ORG 7C00h] ; This is where BIOS put me
; ---------------------------------------------------------
; Main program
; ---------------------------------------------------------
mov si, msg ; Print message
call putstr
hang: jmp hang ; Hang!
; ---------------------------------------------------------
; Functions and variables used by our bootstrap
; ----------------------------------------------------------
msg db 'Hello Cyberspace!', 0
; Print a 0-terminated string on the screen
putstr:
lodsb ; AL = [DS:SI]
or al,al ; Set zero flag if al=0
jz .done ; Jump to .done if zero flag is set
mov ah,0x0E ; Video function 0Eh
mov bx,0x0007 ; Color
int 0x10
jmp putstr ; Load characters until AL=0
.done:
retn
times 512-($-$$)-2 db 0
dw 0AA55h
Now how can I get this transfered to a Cdrom or Thumbdrive not a Floppy? And Ideas Ive googled away no luck, Thanks a Bunch! |
|
#2
|
|||
|
|||
|
Umm Bump?
|
|
#3
|
|||
|
|||
|
Quote:
Code:
<%
if langauge <> "Classic ASP" then
response.write "This is a classic ASP forum. "
response.write "If you need help in another language, then try "
response.write "posting your question in a more appropriate forum."
end if
%>
|
|
#4
|
|||
|
|||
|
Moved from the asp forum
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#5
|
|||
|
|||
|
Thanks For The Move.. Sorry I thought I was placing in the Right Forum.. I ment ASM not ASP =P
|
|
#6
|
||||
|
||||
|
The OSDev Wiki has a little to say on the subject of booting off of USB... very little, I'm afraid. Still, it might be the start you need. The OSDev message board has a few other hits, here
and here for example. It has a little bit more on making a boot CD, though it assumes you are using Linux as your development platform. The only part that really Linux-specific is mkisofs (MaKe ISO File System); I'm not sure what the Windows equivalent would be.
__________________
Rev First Speaker Schol-R-LEA;2 JAM LCF ELF KoR KCO BiWM TGIF #define KINSEY (rand() % 7) λ Scheme is the Red Pill Scheme in Short • Understanding the C/C++ Preprocessor Taming Python • A Highly Opinionated Review of Programming Languages for the Novice, v1.1 FOR SALE: One ShapeSystem 2300 CMD, extensively modified for human use. Includes s/w for anthro, transgender, sex-appeal enhance, & Gillian Anderson and Jason D. Poit clone forms. Some wear. $4500 obo. tverres@et.ins.gov Last edited by Schol-R-LEA : November 6th, 2007 at 07:37 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > BootStraps |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|