Restored from previous forum. Originally posted by ford escort.
copybank source,offset,dest,offset,lenght
where dest can be in the src range to move bloc of data in a memory bank
exemple
copybank *buffer,50,*buffer,49,50
to move the 50 bytes at offset 50 of a memorybank to the offset 49
42...42...42...42...42...42...42...42...
don't forget a plastic bag and a towel
more memory bank options
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by fred.
You can do it easely by using the current CopyMemory() function:
BTW, All MemoryBank function will be renamed in the next release (I don't like the BANK keyword anymore ). AllocateMemoryBank() will be AllocateMemory() etc..
Fred - AlphaSND
Edited by - fred on 14 October 2001 13:18:24
You can do it easely by using the current CopyMemory() function:
Code: Select all
CopyMemory(UseMemoryBank(0)+Offset, UseMemoryBank(1)+Offset, Length)
Fred - AlphaSND
Edited by - fred on 14 October 2001 13:18:24
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm