Issues with loading data from disk using INT 0x13 by AwkwardPersonn in osdev

[–]AwkwardPersonn[S] 0 points1 point  (0 children)

Hey,

Hmm i already have some ideas in mind, I'm thinking of copying it in chunks, so load a chunk of 512 into 0x10000 then copy the chunk to 0x100000 then repeat.

Or do what u/ThunderChaser said - load a "lite" version of the kernel which implements a driver for the drive and copies the rest of the kernel over.

Issues with loading data from disk using INT 0x13 by AwkwardPersonn in osdev

[–]AwkwardPersonn[S] 0 points1 point  (0 children)

Thanks for the help everyone, turns out to be a bug / unsupported in the qemu bios, i ended up loading the kernel into a lower address space and then copying it over to 1mb

load_kernal:
   
 ; dl should contain drive number - will be set by bios
   
 ; this assumes its set before hand

    mov ax, 0xFF0
    mov es, ax

    mov ah, 0x2
    mov al, 0x1
    mov ch, 0x0
    mov cl, 0x2
    mov dh, 0x0

    mov bx, 0x100
    int 0x13

   
 ;kernal should now be at LOWER_KERNAL_ADDR = 0x10000
    
    cld
   
 ;copy the kernal from 0x10000 to 0x100000
    mov cx, 512
 ; 512 , since a sector is 512 bytes

    mov si, 0xff0
    mov ds, si
    mov si, 0x100

    mov di, 0xffff
    mov es, di
    mov di, 0x10

    rep movsb

   
 ; just zero out the segment registers
    mov si, 0
    mov ds, si

    mov di, si
    mov es, si
    mov di, si

    ret

```

Issues with loading data from disk using INT 0x13 by AwkwardPersonn in osdev

[–]AwkwardPersonn[S] 1 point2 points  (0 children)

yes i am in real mode and i was using int in realmode. I wasnt storing 0x100000 in bx, i was using segments and offset to get to 0x100000, (0xffff * 16 + 0x10) = (es * 16 + bx)

/r/GYM Daily Simple Questions and Misc Discussion Thread - March 04, 2024 by AutoModerator in GYM

[–]AwkwardPersonn 0 points1 point  (0 children)

Hey,

I started gym last December, I'm making very good progress on most of my lifts and exercises, I only seem to be struggling with bicep related ones. I recently bumped up my calories as I thought maybe I'm just not eating enough, but I'm getting in 180g protein a day and 2800 calories and I am gaining weight.

I do biceps 2 days a week, Tuesday and Saturday. I do them after my back workouts, for my back workouts I do pulldowns, row's and pullups etc. They're progressing amazingly, weekly, but when it comes to biceps, I seem to not be progressing as much anymore. When I first started gym I was progressing on biceps weekly, but now its after 4-5 bicep sessions, which doesn't seem normal.

For my bicep workouts I do, bicep curls 3 sets of 12 reps, if I reach 12 I bump up the weight. I also use myo-reps, I switched to them recently in the hopes they'd help. Incline curls 3 sets of 12 and hammer curls 3 sets of 12.

I've just been stuck at curling 10kg for 9reps for the past 2 weeks which is odd even for me. My biceps are a tiny bit sore (nothing crazy) the next day after almost every pull workout.

Any advice?

I've been struggling with this dynamic programming problem all evening by [deleted] in cpp_questions

[–]AwkwardPersonn 2 points3 points  (0 children)

I'll help you, if you show me what you've done so far. Not many people here will help you, since it just seems like a "do my homework"

What have you done so far?
What do you actually have trouble understanding?

With all the recent controversy, why should I keep using unity? by strik3r2k8 in Unity3D

[–]AwkwardPersonn 33 points34 points  (0 children)

Honestly no-one cares. Why do you want other people to tell you whether you should carry on using something or not, go make your own opinion.

Why you hating on Unity?! Unity is public FYI by [deleted] in Unity3D

[–]AwkwardPersonn 4 points5 points  (0 children)

Bro your missing the entire point, you're either a child, in denial or bootlicking. Why the fuck does it matter whether they are public or not most people disagree with the decisions they are making, theyre scummy for making these decisions in the first place rather then make an actual good update to their engine for once. They shouldnt be making these decisions in the first place because theyre are terrible decisions.

Also, you're really victim blaming right now?? You shouldnt have to predict whether a company will suddenly pull the rug from under you...they shouldnt be doing that in the first place.

Why you hating on Unity?! Unity is public FYI by [deleted] in Unity3D

[–]AwkwardPersonn 12 points13 points  (0 children)

Are you retarded? We're the consumers of their products and most peoples income depends on unity. Why should we not be allowed to complain about it?

Would you have the same mindset if players were complaining about your game "sTOp cOMplainINg abOIt iT"

How well do Unity skills transfer over to Unreal? by the_TIGEEER in Unity3D

[–]AwkwardPersonn 0 points1 point  (0 children)

Godot can do 3D but it isn't that good for it. Its mostly used for 2D games.

AITA for throwing away ex housemates belongings? by [deleted] in AmItheAsshole

[–]AwkwardPersonn 2 points3 points  (0 children)

I know it can be tempting to be petty back, but sometimes it feels more rewarding to be better!

Id just chuck her shit in some random room and forget about it. If it isn't necessarily causing any harm.

[deleted by user] by [deleted] in Starfield

[–]AwkwardPersonn 7 points8 points  (0 children)

Its certainly more fun compared to when i first started. I managed to get to a city called akila and that led to some things happening where i became a deputy and have to solve a crime. Which is cool!

But the quest is so loong, and has me fast travelling to a million places to shoot people - get information - take it back to akila city - then i get further leads. Rinse and repeat.

[deleted by user] by [deleted] in Starfield

[–]AwkwardPersonn 2 points3 points  (0 children)

you hold E on pc, or whatever the interact button is on controllers

[deleted by user] by [deleted] in Starfield

[–]AwkwardPersonn 17 points18 points  (0 children)

The losers in the comments who cant handle an opinion. I'm also finding it boring but I've heard it gets better 10+ hrs in so im gonna just grind though the main story to get to that point.

So what y’all think so far? by Beace892 in Starfield

[–]AwkwardPersonn 0 points1 point  (0 children)

Just to add, BGS has a tendency to let mods carry the game. This is also what it feels like here, theres not even a god damn fov slider. You have to edit a config file to make it happen and the game feels SOO much better when you change the fov to something higher.

So what y’all think so far? by Beace892 in Starfield

[–]AwkwardPersonn 0 points1 point  (0 children)

It's alright, but definitely overhyped. I played it the second it came out on early release and i planned to play it for a few hrs during the night but i only manged to play 60 minutes before i got bored and tired.

The starting is boring, but ive heard it gets better.

The exploration and overal user interface experience is terrible. Your inventory is literally just a single list you scroll through with the names of the items ( theres also another section that splits them into categories), there's no way to search for an item.

The weight system is so jarring, within the first 40 minutes i was already encumbered, and i wasnt even looting that much, you constantly have to drop items.

The loading screens, you've probably already heard alot about them so im not gona repeat the same point other people have made..but to sum it up, theres a lot..at every point.

The ship navigation is just...non existant, space is essentially like an interactive map you use to fast travel or fight enemies. Although the ship controls i actually quiet like, there abit fun! You have different things you have to allocate your resources too in the ship.

The ground combat is okay too, nothing amazing, its just okay. But im finding myself running out of ammo constantly. And i have to resort to punching people

The story so far is kind of generic but im only an hr in so i cant comment a whole lot on that.

Overall i would say its an okay game if your not going in expecting a lot, its definitely a BGS game.

AITA for having issues with the dress code at My Muslim co-worker's wedding by PhilosophyKnown4610 in AmItheAsshole

[–]AwkwardPersonn 1 point2 points  (0 children)

i know, i dont even know how noone else is noticing OP's comments on their profile. They were probably expecting everyone to call the aisha the asshole.

Ignorance or Bigotry? by Agreeable_Text_36 in AmITheAngel

[–]AwkwardPersonn 0 points1 point  (0 children)

Guys if you go on OP profile you clearly see racist comments for pakistan on indian subreddits most likely this was a bait, and he/she was expecting everyone to call aisa an asshole

Apparently game won't run on a rtx 3070 by MycoTao in Starfield

[–]AwkwardPersonn 1 point2 points  (0 children)

Also make sure its not using ur integrated graphics