[SeaBIOS] [BUG?] SeaBIOS memcpy copies only 0x04 bytes instead of 0x8c

Kevin O'Connor kevin at koconnor.net
Wed Nov 28 03:09:36 CET 2018

On Sun, Nov 25, 2018 at 11:58:14PM +0300, Mike Banon wrote:
> I am trying to copy a structure romfile_s from one location to another
> by memcpy (before the booting stage), but struggling with a weird
> problem. My memcpy arguments - memcpy(void *d1, const void *s1, size_t
> len) :
> d1 (destination) = 0x000f4d34
> s1 (source) = 0x07f3f610
> len (size) = 0x0000008c

It's hard to say without seeing the other code changes.  If the memcpy
was called while in real mode, then it does not have access to memory
above 1Meg.  There's some info on this at:


More information about the SeaBIOS mailing list