From b597fae1a3250c84ba961150263ea8e8df04013f Mon Sep 17 00:00:00 2001 From: thamugadi Date: Sun, 10 Oct 2021 21:30:58 +0100 Subject: [PATCH] memcpy --- entry/boot.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/entry/boot.c b/entry/boot.c index 0558067..e3133ff 100644 --- a/entry/boot.c +++ b/entry/boot.c @@ -36,7 +36,10 @@ void main(void) get_io_type(); init(); //fillscreen(85,100,85, 0x100000); - for(;;) memcpy(0x81000000, 0, 100000); + for(;;) + { + memcpy_24bit(0x81000000, 0x82200000, 0xFF00,1); + } } @@ -64,7 +67,26 @@ void memcpy(unsigned char* dest, unsigned char* src, int n) for (int i = 0; i