English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 27 June 2021, 13:37   #21
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
Quote:
Originally Posted by Brick Nash View Post
I didn't add any extra words though, I just changed the BM width to 368 and it was fine.
Only fine so far as you didn't notice the screams of innocent Chip RAM you were overwriting with your blits while moving forward.

You have to allocate these words at the end of your bitmap buffer, otherwise you are trashing unallocated memory, destroying your graphics or those from other programs. Or even destryoing MemChunk Headers, which results in a corruption of the free-memory lists.
phx is offline  
Old 27 June 2021, 13:55   #22
Brick Nash
Prototron
 
Brick Nash's Avatar
 
Join Date: Mar 2015
Location: Glasgow, Scotland
Posts: 411
Quote:
Originally Posted by phx View Post
Only fine so far as you didn't notice the screams of innocent Chip RAM you were overwriting with your blits while moving forward.

You have to allocate these words at the end of your bitmap buffer, otherwise you are trashing unallocated memory, destroying your graphics or those from other programs. Or even destryoing MemChunk Headers, which results in a corruption of the free-memory lists.
Haha! Noted!

Added them now and all seems well.
Brick Nash is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying restore old HDD JackTheKnife support.Hardware 12 03 March 2021 04:17
[Restore]Amiga 1200 Kwizoke restore (if possible) blog... Mr. Trog support.Hardware 9 02 September 2020 21:44
Trying to dust off and restore my old Amigas Alent New to Emulation or Amiga scene 6 09 March 2018 21:33
Restore system sprite Lazycow Coders. Asm / Hardware 27 01 November 2017 23:06
Double question about saving background nandius_c Coders. Asm / Hardware 5 15 January 2014 10:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:50.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07019 seconds with 13 queries