Skip to content

Latest commit

 

History

History
137 lines (94 loc) · 2.73 KB

TO-DO.adoc

File metadata and controls

137 lines (94 loc) · 2.73 KB

Sfera TO-DO

Note: There are more issues noted in the sources (search them for "XXX" marks). Besides, some Forth and assembly source files are not finished yet (they include a note).

2016-01-03:

Write:

  get-boot-device  ( -- ca len )
  \ Return the current boot device.

2016-01-05:

Undocumented words:

  #mdv
  bp
  pk
  c_mt
  call3*
  call3*a
  call_mt
  call_vu
  csor
  fs_load
  graphics
  ipc  \ called by `keyrow`
  j_s
  kr \ called by `keyrow`
  ld_job
  seek
  sl
  sw
  to_pad
  vec_ut

Undocumented words already guessed from the disassembly (as of 2016-02-11):

v_ok  ( -- )  \ print "ok" on the default channel
trap1  ( rd1.w rd0.w rd2.w -- d-rd1.l rd2.w )
trap3  ( ra1.w rd0.w ra0.w rd2.w -- ra1.w rd1.w rd0,w )
trap3*  ( ra1.w rd0.w ra0.w rd1.w rd2.w -- ra1.w rd1.w rd0,w )
compare  ( ca1 ca2 method -- n )

Note: It seems vocabularies are chained, like in fig-Forth.

Doubt: User variables, but no user?

Write a code word to change the font.

2016-01-06:

Implement warnings, maybe by hacking (error).

2016-01-10:

Note: It seems the execution of a vocabulary makes it the first vocabulary to be searched, and then the vocabulary it was created in, and so on.

2016-01-11:

Rename the original word s→d to s>d. But first >name has to be adapted, in order to skip several padding bytes. Then rename also s→d to s>d.

2016-01-14:

Write a standard parse-name, which returns a string directly from the input buffer.

2016-01-15:

Fix: share <printout.txt>. Or create a new file every time, with a unique name (time string and job id).

Write a tool to rename all original words, replacing "_" with "-". Since standard Forth words does not use underscores, it seems desirable to homogenize the whole dictionary.

2016-01-17:

Change the job name in turnkey.

Some words are defined in the <boot_fs> file, but also in their own files, because it’s not yet decided wether they will be part of the library core or optional.

Write basic documentation.

2016-01-22:

Fix adump.

2016-01-23:

Write aresize.

2016-01-26:

Finish win-line-len and win-base. Finish the conversion of bmp8load.

2016-01-28:

Try the new and modified macros.

Fix <channel_to_ad_asm>.

2016-02-11:

Use the circular string buffer instead of the name buffer.

2016-02-12:

Fix no-key.