[Sdcc-user] Z80 Port I/O

2009-12-01 Thread Indy Sams
io_val; } void io_write(uint8 addr, uint8 val) { io_addr = addr; io_val = val; _asm push af push bc ld a,(_io_val) ld bc,(_io_addr) out (c),a pop bc pop af _endasm; } Best regards, Indy Sams mailto:i...@dri

Re: [Sdcc-user] SDCC for 80C85

2012-07-01 Thread Indy Sams
According to wikipedia: "Only a few minor instructions were new to the 8085 above the 8080 set." Best regards, Indy Sams -- Live Security Virtual Conference Exclusive live event will cover all the ways today&#

Re: [Sdcc-user] Bank switching (Z80, Amstrad CPC)

2013-07-02 Thread Indy Sams
capable of managing DB> bank-switched memory, so that I can just malloc() away to my heart's DB> content? DB> If not, and I go ahead and implement something, would this functionality DB> fit in SDCC? I'm suspicious that it wouldn't, as it's specific to just DB>

Re: [Sdcc-user] Z80 Assembly Development

2016-08-20 Thread Indy Sams
t simply to link the startup module first with the AC> start code first in the code segment and just leave _CODE as 0. AC> Alan AC> -- AC>