<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


#BUF Search:

In Built-in Variables in TurboForth Kernal

Word Name: #BUF
Type: Standard word
Data Stack Signature: addr --
Return Stack Signature: --
Availability: V1.2
Description:

Sets the number of block buffers reserved in VDP memory. The minimum value is 1, the maximum (and default) value is 6. #BUF is a variable - it returns an address. It is read with @ and written with !.

Example:

None

Comment:

The table below shows the effect on VDP memory for the 6 available values for #BUF. See the VDP memory map for more information.

#BUF Values
#BUF Value Description
1 Reserves a single 1024 byte block buffer at VDP address >3020.
2 Reserves 2 block buffers in VDP memory from >2C20 to >341F.
3 Reserves 3 block buffers in VDP memory from >2820 to >341F.
4 Reserves 4 block buffers in VDP memory from >2420 to >341F.
5 Reserves 5 block buffers in VDP memory from >2020 to >341F.
6 Reserves 6 block buffers in VDP memory from >1C20 to >341F.

 

See Also: None listed

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>