DOS support

4 views
Skip to first unread message

Patrik Tkáč

unread,
Dec 7, 2010, 2:11:24 AM12/7/10
to atala...@googlegroups.com
Hello,

Are there any plans to implement functions of DOS in language?
Like reading and writing files?



patarik

rudla

unread,
Dec 7, 2010, 3:40:31 AM12/7/10
to Atalan Programming Langugage
Definitely.
Without an extra comfort, I believe it should be doable right now.
It's just matter of filling the IOCB structure, setting the X register
and calling appropriate ROM function.
For simple reading/writing of memory block/array, this should be quite
sufficient.

Future support basically includes two possible enhancements:

- arrays of structures (so it is posible to define just array of IOCB
instead of 8 separate IOCBs - this is however just useful only when
trying to use IOCB somewhat dynamically)
- arrays of variable length (now, you would have to keep separate
variable to track number of items in an array, if you want to read/
write variable number of bytes)

Rudla
Reply all
Reply to author
Forward
0 new messages