Installing alt-ram assembly problem

News,announcements,programming,fixes,game patches & discussions.
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: Installing alt-ram assembly problem

Post by terriblefire »

exxos wrote: 04 Apr 2020 18:16 DMA does get screwed up.. but its odd.. Because there is only one Incorrect icon in a directory list on the floppy...

But video gets trashed totally, I just get a totally blank screen all the time, unless something crashes and I then can actually see bombs.. So it is like screen memory is getting allocated somewhere it should not be... I mean sysinfo would tell me that, but I cannot see the screen to check that :lol: :roll:
Dont know if this is anything to do with anything but the CDTV does something similar when you put fast ram in it (non-dma'able) fast ram. The buffer is allocated somewhere where DMA cant happen because the OS isnt smart enough to know about such things.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Installing alt-ram assembly problem

Post by exxos »

terriblefire wrote: 04 Apr 2020 18:19 Dont know if this is anything to do with anything but the CDTV does something similar when you put fast ram in it (non-dma'able) fast ram. The buffer is allocated somewhere where DMA cant happen because the OS isnt smart enough to know about such things.
Could be... AFAIK TOS allocates screen memory towards the top end of RAM.. so if it then has 12MB of RAM, nothing will ever access video RAM and it will remain white.. Which it does.
User avatar
stephen_usher
Site sponsor
Site sponsor
Posts: 7376
Joined: 13 Nov 2017 19:19
Location: Oxford, UK.

Re: Installing alt-ram assembly problem

Post by stephen_usher »

I take it that there's a gap in the memory map between the ST RAM and your alt-RAM? If not I wonder if that might be confusing the ROM code.
Intro retro computers since before they were retro...
ZX81->Spectrum->Memotech MTX->Sinclair QL->520STM->BBC Micro->TT030->PCs & Sun Workstations.
Added code to the MiNT kernel (still there the last time I checked) + put together MiNTOS.
Collection now with added Macs, Amigas, Suns and Acorns.
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: Installing alt-ram assembly problem

Post by terriblefire »

stephen_usher wrote: 04 Apr 2020 21:40 I take it that there's a gap in the memory map between the ST RAM and your alt-RAM? If not I wonder if that might be confusing the ROM code.
Thats a good shout. I've only ever tried adding alt-ram on a 1Mb STFM. There were no issues. Maybe this is why.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
mfro
Posts: 124
Joined: 13 Dec 2018 07:32

Re: Installing alt-ram assembly problem

Post by mfro »

exxos wrote: 04 Apr 2020 18:16 DMA does get screwed up.. but its odd..
If you add Altram that is not DMA accessible, you also need to allocate the FRB and set the _FRB cookie.
Are you doing that?
And remember: Beethoven wrote his first symphony in C.
User avatar
exxos
Site Admin
Site Admin
Posts: 28344
Joined: 16 Aug 2017 23:19
Location: UK

Re: Installing alt-ram assembly problem

Post by exxos »

mfro wrote: 05 Apr 2020 09:57
exxos wrote: 04 Apr 2020 18:16 DMA does get screwed up.. but its odd..
If you add Altram that is not DMA accessible, you also need to allocate the FRB and set the _FRB cookie.
Are you doing that?
This all happens before it gets to desktop...

Return to “SOFTWARE PROGRAMMING & DISCUSSION”

Who is online

Users browsing this forum: ClaudeBot and 6 guests