; DRAM interface for *one* 256K x 4 bit DRAM chip. ; This is part of the Z80-CP/M emulator written by Sprite_tm. ; Copyright (C) 2010 Sprite_tm ; Copyright (C) 2010 Leo C. ; This file is part of avrcpm. ; ; avrcpm is free software: you can redistribute it and/or modify it ; under the terms of the GNU General Public License as published by ; the Free Software Foundation, either version 3 of the License, or ; (at your option) any later version. ; ; avrcpm is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; ; You should have received a copy of the GNU General Public License ; along with avrcpm. If not, see . ; ; $Id$ ; ;---------------------------------------------- ; Loads the byte on address xh:xl into temp. ; Uses temp2. Must not alter xh:xl .cseg dram_read: ; cli DRAM_SETADDR xh, ~0,(1<