Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,741
Community Members
 
Community Events
184
Community Groups

1MB memory address space access and linker scriptings for real mode programs

Chris Hoy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 15, 2023

Greetings
Today I was investigating the basics for real mode programs and sub-systems. I'm prototyping a build of a minimal graphical BIOS on int 10h till I realized that my object files only address until 0xFFFF (64 kb). Now that isn't including any of the boot sequence that leaves only a small fraction of the 1MB of use so I'm trying to modify the settings or configurations for more regular use.

Here is where I was looking into the linker scriptings. As is I had a simple mapping method that graphs a full screen and I was going to add a second map to save changes

The algebra is simple for this (int 10 mode 0x13 => 320x200 = 40x25x(8)(8)=2560(25) )
When I increment this instruction past row 5 of the settings

Map2:
times 2560*6 db 0
.stub: equ $-Map2

I get an LMA overlap section from my ld script.So I was trying to research ld's scripting language but the online references are fewer than I had hoped. Currently I was trying to add a

INCLUDE linkcmds.memory
into the link.ld for the new memory command however I now get a "relocation truncated to fit R_386_16 against `.data

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events