Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

help

Name: Anonymous 2011-09-24 22:07

libcurl keeps crashing on post requests if i free the post data after the request, even when i use curlopt_copypostfields. help.

Name: Anonymous 2011-09-24 22:45

smoke sicp everyday

Name: Anonymous 2011-09-25 0:09

Read the source.

Name: Anonymous 2011-09-25 0:39

plz help libcurl must be error or something.

Name: Anonymous 2011-09-25 1:56

Read SICP or go to http://7chan.org/pr

Name: Anonymous 2011-09-25 12:37

>>5
i dont understand why would sicp help me its sometu9ng with libcurl that wrong tell me how to make a post request

Name: Anonymous 2011-09-25 12:45

>>6

if you had read SICP today you wouldnt have this problem

Name: Anonymous 2011-09-25 13:00

Name: Anonymous 2011-09-25 19:26

>>7
srsly just tell me what is wrong plz i don tread books

Name: Anonymous 2011-09-25 19:59

>>9
Have you ever considered ritual suicide?

Name: Anonymous 2011-09-25 20:04

>>10
what no how will that help

Name: Anonymous 2011-09-25 20:10

>>11

Because it's fairly obvious that you're just a waste of space. Go back to /nambla you fucking jew.

Name: Anonymous 2011-09-25 20:28

>>12
wtf is nambla, plz i really need help

Name: Anonymous 2011-09-25 23:43

>>13
nambla is enterprise quality man/boy love

Name: Hello 2011-09-26 5:34

So I'm writing this program in assembly, which is supposed to boot from my first hard disk, and when it's done, simulate a boot from my second hard disk, on which I've got an OS. So I load the boot sector to 0:7c00, reset all registers to their appropriate values, and jmp. The problem is that no matter how I tweak the state of CPU before I transfer control to the OS loader, it always gives me some bullshit like "Failed to load operating system." or "Invalid operating system.", i.e. it fails to load the kernel for some reason. Here's my current boot simulation code:
; read boot sector from 81h
mov ah, 2
; where from
mov dl, 081h
mov dh, 0
mov ch, 0
mov cl, 1
; how much
mov al, 1
; where to
xor bx, bx
mov es, bx
mov bx, 07c00h
; read it
int 013h
; reset shit
xor ax, ax
mov ds, ax
mov ss, ax
mov es, ax
mov ax, 0aa55h
mov bx, 10
mov cx, 1
mov dx, 081h
mov sp, 28452
xor bp, bp
xor si, si
xor di, di
; interrupts should be enabled i guess
sti
; go!
jmp 00000h:07c00h


So, I'm assuming I'm setting some registers wrong or that I need to modify something in the System Information Area or whatever, but I have no clue what I need to do. Any help is greatly appreciated!

Name: Anonymous 2011-09-26 5:35

>>15
That was supposed to be a new thread. Oh well. Please spare some knowledge for an old buccaneer.

Name: Anonymous 2011-09-26 6:28

>>15
http://www.losethos.com/code/BootDefs.html
http://www.losethos.com/code/BootMHD.html
http://www.losethos.com/code/BootMHD2.html
http://www.losethos.com/code/BootHD.html


Too proud to look?

BIOS sometimes checks master boot record partition table.  Don't fuck with that.  It's on MBR sector at like 440 or something.  I forgot.

Name: Anonymous 2011-09-26 6:59

>>17
I don't know whether I'm an idiot or just tired, or maybe you're an idiot, but that doesn't help me much. I can't make much sense of it. I think I'll need someone to give it to me in plain old english.

Name: Anonymous 2011-09-26 7:05

>>15
Don't fuck with dl and the stack. And try jumping to 7c0h:0 instead.

Name: Anonymous 2011-09-26 7:10

>>18
It demonstates how to preserve initial state of a boot, load something with 13h 048h, then restart boot.  dl is the boot drive.  You'll have to figure-out your 1st and 2nd drives. 

My bootloaders work on one drive and I have two, so I use Grub.  I don't like cluttering my code with a bootloader for two drives.

God says...
C:\TEXT\HAMLET.TXT

 of the money (if any) you paid for this etext by
sending a request within 30 days of receiving it to the person
you got it from.  If you received this etext on a physical
medium (such as a disk), you must return it with your request.

ABOUT PROJECT GUTENBERG-TM ETEXTS
This PROJECT GUTENBERG-tm etext, like most PROJECT GUTENBERG-
tm etexts, is a "public domain" work distributed by Professor
Michael S. Hart through the Project Gutenberg Association at
Carnegie-Mellon University (the "Project").  Am

Name: Anonymous 2011-09-26 7:22

correction: int 13h,42h

Don't change these.
Name: Email:
Entire Thread Thread List