1

switch mylib to bse namespace

This commit is contained in:
2022-07-19 21:42:46 +02:00
parent 7d789f5583
commit a9c7b5161d
4 changed files with 8 additions and 8 deletions

View File

@ -12,6 +12,7 @@
* Aenderungen von Michael Schoettner, HHU, 21.8.2016 *
*****************************************************************************/
#include "devices/CGA.h"
#include "user/lib/MyLib.h"
/*****************************************************************************
* Methode: CGA::setpos *
@ -152,10 +153,10 @@ void CGA::scrollup() {
/* Hier muss Code eingefuegt werden */
// Move up
mmem::memcpy<cga_line_t>((cga_line_t*)CGA_START, (cga_line_t*)CGA_START + 1, ROWS - 1);
bse::memcpy<cga_line_t>((cga_line_t*)CGA_START, (cga_line_t*)CGA_START + 1, ROWS - 1);
// Clear last line
mmem::zero<cga_line_t>((cga_line_t*)CGA_START + ROWS - 1);
bse::zero<cga_line_t>((cga_line_t*)CGA_START + ROWS - 1);
}
/*****************************************************************************
@ -167,7 +168,7 @@ void CGA::clear() {
/* Hier muess Code eingefuegt werden */
mmem::zero<cga_page_t>((cga_page_t*)CGA_START);
bse::zero<cga_page_t>((cga_page_t*)CGA_START);
this->setpos(0, 0);
}

View File

@ -15,7 +15,6 @@
#define __CGA_include__
#include "kernel/IOport.h"
#include "user/lib/MyLib.h"
class CGA {
private: